static final class DocumentsWriterFlushQueue.SegmentFlushTicket extends DocumentsWriterFlushQueue.FlushTicket
Modifier and Type | Field and Description |
---|---|
private boolean |
failed |
private DocumentsWriterPerThread.FlushedSegment |
segment |
frozenUpdates, published
Modifier | Constructor and Description |
---|---|
protected |
SegmentFlushTicket(FrozenBufferedUpdates frozenDeletes) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canPublish() |
protected void |
publish(IndexWriter writer) |
protected void |
setFailed() |
protected void |
setSegment(DocumentsWriterPerThread.FlushedSegment segment) |
finishFlush, publishFlushedSegment
private DocumentsWriterPerThread.FlushedSegment segment
private boolean failed
protected SegmentFlushTicket(FrozenBufferedUpdates frozenDeletes)
protected void publish(IndexWriter writer) throws java.io.IOException
publish
in class DocumentsWriterFlushQueue.FlushTicket
java.io.IOException
protected void setSegment(DocumentsWriterPerThread.FlushedSegment segment)
protected void setFailed()
protected boolean canPublish()
canPublish
in class DocumentsWriterFlushQueue.FlushTicket