static interface DocumentsWriter.FlushNotifications
Modifier and Type | Method and Description |
---|---|
void |
afterSegmentsFlushed()
Called after one or more segments were flushed to disk.
|
void |
deleteUnusedFiles(java.util.Collection<java.lang.String> files)
Called when files were written to disk that are not used anymore.
|
void |
flushFailed(SegmentInfo info)
Called when a segment failed to flush.
|
void |
onDeletesApplied()
Called once deletes have been applied either after a flush or on a deletes call
|
void |
onTicketBacklog()
Called once the DocumentsWriter ticket queue has a backlog.
|
void |
onTragicEvent(java.lang.Throwable event,
java.lang.String message)
Should be called if a flush or an indexing operation caused a tragic / unrecoverable event.
|
void deleteUnusedFiles(java.util.Collection<java.lang.String> files)
void flushFailed(SegmentInfo info)
void afterSegmentsFlushed() throws java.io.IOException
java.io.IOException
void onTragicEvent(java.lang.Throwable event, java.lang.String message)
void onDeletesApplied()
void onTicketBacklog()