HER-1467 Allow periodic checkpointing and checkpoint-copy-logs to be set/unset during crawl

* CheckpointService.java
    reorganize so that checkpoint timedTask is reset whenever interval is reset on a running crawl
* CheckpointSuccessEvent.java, CrawlJob.java
    report successes as new kind of ApplicationEvent; propagagte to job log
* BdbModule.java
    remove obsolete unconsulted checkpointCopyLogs setting
This commit is contained in:
gojomo committed 2010-04-23 00:15:44 +00:00
1 parent ca32d0d448
commit 9fd648f3ef
4 files changed
+86 -31

No files matched your search

@@ -172,14 +172,6 @@ public class BdbModule implements Lifecycle, Checkpointable, Closeable {
this.useSharedCache = useSharedCache;
}
boolean checkpointCopyLogs = true;
public boolean getCheckpointCopyLogs() {
return checkpointCopyLogs;
}
public void setCheckpointCopyLogs(boolean checkpointCopyLogs) {
this.checkpointCopyLogs = checkpointCopyLogs;
}
/**
* Expected number of concurrent threads; used to tune nLockTables
* according to JE FAQ