K
- the type of key.V
- the type of value.public class ClusterWideIterator<K,V> extends AbstractClusterWideIterator<K,V> implements Iterator<javax.cache.Cache.Entry<K,V>>
ICache
.
This implementation is used for server or embedded mode.
Note: For more information on the iterator details, seeAbstractClusterWideIterator
.AbstractClusterWideIterator
cache, currentIndex, DEFAULT_FETCH_SIZE, fetchSize, index, lastTableIndex, partitionCount, partitionIndex, prefetchValues, result
Constructor and Description |
---|
ClusterWideIterator(CacheProxy<K,V> cache,
boolean prefetchValues) |
ClusterWideIterator(CacheProxy<K,V> cache,
int fetchSize,
boolean prefetchValues) |
ClusterWideIterator(CacheProxy<K,V> cache,
int fetchSize,
int partitionId,
boolean prefetchValues) |
Modifier and Type | Method and Description |
---|---|
protected List |
fetch() |
protected Data |
toData(Object obj) |
protected <T> T |
toObject(Object data) |
advance, ensureOpen, getPartitionCount, hasNext, next, remove, setLastTableIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext, next, remove
public ClusterWideIterator(CacheProxy<K,V> cache, boolean prefetchValues)
public ClusterWideIterator(CacheProxy<K,V> cache, int fetchSize, boolean prefetchValues)
public ClusterWideIterator(CacheProxy<K,V> cache, int fetchSize, int partitionId, boolean prefetchValues)
protected List fetch()
fetch
in class AbstractClusterWideIterator<K,V>
protected Data toData(Object obj)
toData
in class AbstractClusterWideIterator<K,V>
protected <T> T toObject(Object data)
toObject
in class AbstractClusterWideIterator<K,V>
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.