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, seeAbstractClusterWideIterator
.cache, currentIndex, fetchSize, index, lastTableIndex, partitionCount, partitionIndex, result
Constructor and Description |
---|
ClientClusterWideIterator(ClientCacheProxy<K,V> cacheProxy,
ClientContext context) |
Modifier and Type | Method and Description |
---|---|
protected CacheKeyIteratorResult |
fetch() |
protected Data |
toData(Object obj) |
protected <T> T |
toObject(Object data) |
advance, ensureOpen, getPartitionCount, hasNext, next, remove
public ClientClusterWideIterator(ClientCacheProxy<K,V> cacheProxy, ClientContext context)
protected CacheKeyIteratorResult 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 © 2016 Hazelcast, Inc.. All Rights Reserved.