static final class DocumentsWriter.ForcedPurgeEvent extends java.lang.Object implements IndexWriter.Event
| Modifier and Type | Field and Description |
|---|---|
(package private) static IndexWriter.Event |
INSTANCE |
private int |
instCount |
| 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
private int instCount
public void process(IndexWriter writer, boolean triggerMerge, boolean forcePurge) throws java.io.IOException
IndexWriter.EventIndexWriter
passed as the first argument.process in interface IndexWriter.Eventwriter - 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