Uses of Interface
org.apache.lucene.util.IOUtils.IOConsumer
Packages that use IOUtils.IOConsumer
Package
Description
Code to maintain and access indices.
Some utility classes.
-
Uses of IOUtils.IOConsumer in org.apache.lucene.index
Fields in org.apache.lucene.index declared as IOUtils.IOConsumerModifier and TypeFieldDescriptionprivate final IOUtils.IOConsumer<ReadersAndUpdates> BufferedUpdatesStream.SegmentState.onCloseMethods in org.apache.lucene.index with parameters of type IOUtils.IOConsumerModifier and TypeMethodDescription(package private) final voidMergePolicy.OneMerge.close(boolean success, boolean segmentDropped, IOUtils.IOConsumer<MergePolicy.MergeReader> readerConsumer) Closes this merge and releases all merge readers(package private) static voidIndexWriter.createCompoundFile(InfoStream infoStream, TrackingDirectoryWrapper directory, SegmentInfo info, IOContext context, IOUtils.IOConsumer<Collection<String>> deleteFiles) NOTE: this method creates a compound file for all files returned by info.files().(package private) voidDocumentsWriterFlushQueue.forcePurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer) private voidDocumentsWriterFlushQueue.innerPurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer) private MergePolicy.MergeSpecificationIndexWriter.preparePointInTimeMerge(SegmentInfos mergingSegmentInfos, 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) voidDocumentsWriter.purgeFlushTickets(boolean forced, IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer) (package private) voidDocumentsWriterFlushQueue.tryPurge(IOUtils.IOConsumer<DocumentsWriterFlushQueue.FlushTicket> consumer) Constructors in org.apache.lucene.index with parameters of type IOUtils.IOConsumerModifierConstructorDescription(package private)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.IOConsumerModifier and TypeMethodDescriptionstatic <T> voidIOUtils.applyToAll(Collection<T> collection, IOUtils.IOConsumer<T> consumer) Applies the consumer to all non-null elements in the collection even if an exception is thrown.