📄 user story - autobuildindex.txt
字号:
Story: Auto build index every a few seconds Description: Currently forum administrator should run indexbuilder manually to add newly posted threads to indexExtension: User can create task later, to do that, following the steps below: 1.create a task: extends the TimerTask class, and implement it's run() method 2.add it to TaskRunner in ForumActionServlet taskRunner.addTask( theTask, interval );CRC Card:IndexBuilder---------------------------------indexDirbuildIndex()BuildIndexTask extends TimerTask---------------------------------run()TaskRunner---------------------------------addTask( TimerTask task )addTask( TimerTask task, int interval )toString()working item: refactoring IndexBuilder write BuildIndexTask write TaskRunner modify ForumActionServlet test
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -