Package org.terrier.realtime.incremental
Class IncrementalFlushTime
- java.lang.Object
-
- org.terrier.realtime.incremental.IncrementalFlushPolicy
-
- org.terrier.realtime.incremental.IncrementalFlushTime
-
- All Implemented Interfaces:
java.lang.Runnable
public class IncrementalFlushTime extends IncrementalFlushPolicy
An IncrementalFlushPolicy that will flush an index to disk after after a fixed period of time.- Since:
- 4.0
- Author:
- Richard McCreadie, Stuart Mackie
-
-
Constructor Summary
Constructors Constructor Description IncrementalFlushTime(IncrementalIndex index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
flushCheck()
Is flushing required?boolean
flushPolicy()
Is flushing configured?-
Methods inherited from class org.terrier.realtime.incremental.IncrementalFlushPolicy
get, run
-
-
-
-
Constructor Detail
-
IncrementalFlushTime
public IncrementalFlushTime(IncrementalIndex index)
-
-
Method Detail
-
flushPolicy
public boolean flushPolicy()
Is flushing configured?- Overrides:
flushPolicy
in classIncrementalFlushPolicy
-
flushCheck
public boolean flushCheck()
Is flushing required?- Overrides:
flushCheck
in classIncrementalFlushPolicy
-
-