K
- the type of key.V
- the type of value.public class ClientClusterWideIterator<K,V> extends AbstractClusterWideIterator<K,V> implements Iterator<javax.cache.Cache.Entry<K,V>>
ICache
.
This implementation is used by client implementation of JCache.
Note: For more information on the iterator details, see AbstractClusterWideIterator
.cache, currentIndex, DEFAULT_FETCH_SIZE, fetchSize, index, lastTableIndex, partitionCount, partitionIndex, prefetchValues, result
Constructor and Description |
---|
ClientClusterWideIterator(ClientCacheProxy<K,V> cacheProxy,
ClientContext context,
boolean prefetchValues) |
ClientClusterWideIterator(ClientCacheProxy<K,V> cacheProxy,
ClientContext context,
int fetchSize,
boolean prefetchValues) |
ClientClusterWideIterator(ClientCacheProxy<K,V> cacheProxy,
ClientContext context,
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 ClientClusterWideIterator(ClientCacheProxy<K,V> cacheProxy, ClientContext context, boolean prefetchValues)
public ClientClusterWideIterator(ClientCacheProxy<K,V> cacheProxy, ClientContext context, int fetchSize, boolean prefetchValues)
public ClientClusterWideIterator(ClientCacheProxy<K,V> cacheProxy, ClientContext context, 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 © 2017 Hazelcast, Inc.. All Rights Reserved.