E
- public interface ReadResultSet<E> extends Iterable<E>
Ringbuffer.readManyAsync(long, int, int, com.hazelcast.core.IFunction)
operation.
Important:
If an item is retrieved multiple times from the result set, a new instance is returned for every invocation. This is done
to prevent unexpected sharing if the ICompletableFuture
is shared between multiple threads.Modifier and Type | Method and Description |
---|---|
E |
get(int index)
Gets the item at the given index.
|
int |
readCount()
Returns the number of items that have been read before filtering.
|
forEach, iterator, spliterator
int readCount()
E get(int index)
index
- the indexIllegalArgumentException
- if index out of bounds.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.