- updateChatCache4Delete(ServletContext) - 类 中的静态方法processing.ChatCacheController
-
chatChche中每个chatkey都有对应的最后更新时间,如果最后更新时间已经是x分钟前(超时),就清除该chatKey的数据
- updateChatCache4Insert(Map<String, String[]>, Map<String, String>, ServletContext) - 类 中的静态方法processing.ChatCacheController
-
根据chatKey更新chatCache的数据,并修改最后更新时间
- updateConfig(String, String, String, ServletContext) - 类 中的方法servlet.UpdateSingleConfigServlet
-
- updateExtraInfo(String, String, ServletContext) - 类 中的方法servlet.UpdateSingleConfigServlet
-
- updateInfoGetBestMatch(Condition, Map<String, String[]>, Map<String, String>, ServletContext, UserInfo) - 类 中的方法processing.ProcessQuestion
-
替换答案中相应的变量{xxx-1},并根据当前信息点更新历史信息点(当前在下一轮变成历史)。
- UpdateServlet - servlet中的类
-
用户通过页面更新或提交配置文件,后台解析配置文件信息后保存至本地文件夹中,并更新contextServlet中的userinfo信息。
- UpdateServlet() - 类 的构造器servlet.UpdateServlet
-
- UpdateSingleConfigServlet - servlet中的类
-
- UpdateSingleConfigServlet() - 类 的构造器servlet.UpdateSingleConfigServlet
-
- userConfigInit(String, ServletContext) - 类 中的静态方法processing.ProcessQuestion
-
- UserInfo - entity中的类
-
本地读取的用户配置文件(整个)和提交的用户配置文件的信息经过解析后保存在这里
- UserInfo(String) - 类 的构造器entity.UserInfo
-
- userInfoQuery(String, ServletContext) - 类 中的方法processing.ProcessQuestion
-
原为通过用户chat_key从数据库中获得用户名
根据用户名从servletContext中获得用户的数据userinfo(配置文件及相应的状态表)
如果context中没有,就重新加载本地配置文件(即初始化)
初始化后还是没有就创建一个userinfo
-------------
修改后直接从request获得用户名,并从context根据用户名获得userinfo
- userName - 类 中的变量entity.UserInfo
-