static class DocumentsWriter.FlushFailedEvent extends java.lang.Object implements IndexWriter.Event
Modifier and Type | Field and Description |
---|---|
private SegmentInfo |
info |
Constructor and Description |
---|
FlushFailedEvent(SegmentInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
process(IndexWriter writer,
boolean triggerMerge,
boolean forcePurge)
Processes the event.
|
private final SegmentInfo info
public FlushFailedEvent(SegmentInfo info)
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