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, fetchSize, index, lastTableIndex, partitionCount, partitionIndex, result
Constructor and Description |
---|
ClusterWideIterator(CacheProxy<K,V> cache) |
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 ClusterWideIterator(CacheProxy<K,V> cache)
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.