@FunctionalInterface
private static interface IndexWriter.Event
DocumentsWriter
for details. Events are executed concurrently and no order is guaranteed.
Each event should only rely on the serializeability within its process method. All actions that must happen before or after a certain action must be
encoded inside the process(IndexWriter)
method.Modifier and Type | Method and Description |
---|---|
void |
process(IndexWriter writer)
Processes the event.
|
void process(IndexWriter writer) throws java.io.IOException
IndexWriter
passed as the first argument.writer
- the IndexWriter
that executes the event.java.io.IOException
- if an IOException
occurs