Uses of Interface
org.apache.lucene.util.IOUtils.IOConsumer
-
Packages that use IOUtils.IOConsumer Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.util Some utility classes. -
-
Uses of IOUtils.IOConsumer in org.apache.lucene.index
Fields in org.apache.lucene.index declared as IOUtils.IOConsumer Modifier and Type Field Description private IOUtils.IOConsumer<ReadersAndUpdates>
BufferedUpdatesStream.SegmentState. onClose
Methods in org.apache.lucene.index with parameters of type IOUtils.IOConsumer Modifier and Type Method Description (package private) void
MergePolicy.OneMerge. close(boolean success, boolean segmentDropped, IOUtils.IOConsumer<MergePolicy.MergeReader> readerConsumer)
Closes this merge and releases all merge readers(package private) static void
IndexWriter. createCompoundFile(InfoStream infoStream, TrackingDirectoryWrapper directory, SegmentInfo info, IOContext context, IOUtils.IOConsumer<java.util.Collection<java.lang.String>> deleteFiles)
NOTE: this method creates a compound file for all files returned by info.files().(package private) void
DocumentsWriterFlushQueue. forcePurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer)
private void
DocumentsWriterFlushQueue. innerPurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer)
private MergePolicy.MergeSpecification
IndexWriter. preparePointInTimeMerge(SegmentInfos mergingSegmentInfos, java.util.function.BooleanSupplier stopCollectingMergeResults, MergeTrigger trigger, IOUtils.IOConsumer<SegmentCommitInfo> mergeFinished)
This optimization allows a commit/getReader to wait for merges on smallish segments to reduce the eventual number of tiny segments in the commit point / NRT Reader.(package private) void
DocumentsWriter. purgeFlushTickets(boolean forced, IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer)
(package private) void
DocumentsWriterFlushQueue. tryPurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer)
Constructors in org.apache.lucene.index with parameters of type IOUtils.IOConsumer Constructor Description SegmentState(ReadersAndUpdates rld, IOUtils.IOConsumer<ReadersAndUpdates> onClose, SegmentCommitInfo info)
-
Uses of IOUtils.IOConsumer in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type IOUtils.IOConsumer Modifier and Type Method Description static <T> void
IOUtils. applyToAll(java.util.Collection<T> collection, IOUtils.IOConsumer<T> consumer)
Applies the consumer to all non-null elements in the collection even if an exception is thrown.
-