public class IncrementalFlushPolicy extends Object implements Runnable
Constructor and Description |
---|
IncrementalFlushPolicy(IncrementalIndex index) |
Modifier and Type | Method and Description |
---|---|
boolean |
flushCheck()
Never flush.
|
boolean |
flushPolicy()
No flush.
|
static IncrementalFlushPolicy |
get(String policy,
List<Index> indices,
IncrementalIndex index)
Create a new flush thread.
|
void |
run()
Flush contents of in-memory index to disk.
|
public IncrementalFlushPolicy(IncrementalIndex index)
public static IncrementalFlushPolicy get(String policy, List<Index> indices, IncrementalIndex index)
public boolean flushPolicy()
public boolean flushCheck()
Terrier 4.0. Copyright © 2004-2014 University of Glasgow