user story - autobuildindex.txt

来自「Chinaxp 论坛源代码」· 文本 代码 · 共 39 行

TXT
39
字号
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 + =
减小字号Ctrl + -
显示快捷键?