Package org.infinispan.server.iteration
Interface IterationManager
- All Known Implementing Classes:
DefaultIterationManager
,ExternalSourceIterationManager
public interface IterationManager
- Since:
- 9.0
- Author:
- wburns
-
Method Summary
Modifier and TypeMethodDescriptionint
void
Reds the next batch from the iterator associated with .void
start
(AdvancedCache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType valueMediaType, int batch, boolean metadata, DeliveryGuarantee guarantee, IterationInitializationContext ctx)
-
Method Details
-
start
IterationState start(AdvancedCache cache, BitSet segments, String filterConverterFactory, List<byte[]> filterConverterParams, MediaType valueMediaType, int batch, boolean metadata, DeliveryGuarantee guarantee, IterationInitializationContext ctx) -
next
Reds the next batch from the iterator associated with .Warning: This method can block.
- Parameters:
iterationId
- : The iterator identifier.batch
- : The maximum number of entries to include in the batch.- Returns:
- An
IterableIterationResult
object with the current data and metadata about the iterator.
-
close
-
addKeyValueFilterConverterFactory
-
removeKeyValueFilterConverterFactory
-
activeIterations
int activeIterations()
-