static final class DocumentsWriter.ForcedPurgeEvent extends java.lang.Object implements IndexWriter.Event
Modifier and Type | Field and Description |
---|---|
(package private) static IndexWriter.Event |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
ForcedPurgeEvent() |
Modifier and Type | Method and Description |
---|---|
void |
process(IndexWriter writer,
boolean triggerMerge,
boolean forcePurge)
Processes the event.
|
static final IndexWriter.Event INSTANCE
public void process(IndexWriter writer, boolean triggerMerge, boolean forcePurge) throws java.io.IOException
IndexWriter.Event
IndexWriter
passed as the first argument.process
in interface IndexWriter.Event
writer
- the IndexWriter
that executes the event.triggerMerge
- false
iff this event should not trigger any segment mergesforcePurge
- true
iff this event should clear all buffers associated with the event.java.io.IOException
- if an IOException
occurs