K
- V
- public abstract class AbstractClusterWideIterator<K,V> extends Object implements Iterator<javax.cache.Cache.Entry<K,V>>
Modifier and Type | Field and Description |
---|---|
protected ICache<K,V> |
cache |
protected int |
currentIndex |
protected int |
fetchSize |
protected int |
index |
protected int |
lastTableIndex |
protected int |
partitionCount |
protected int |
partitionIndex |
protected CacheKeyIteratorResult |
result |
Constructor and Description |
---|
AbstractClusterWideIterator(ICache<K,V> cache,
int partitionCount) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
advance() |
protected void |
ensureOpen() |
protected abstract CacheKeyIteratorResult |
fetch() |
protected int |
getPartitionCount() |
boolean |
hasNext() |
javax.cache.Cache.Entry<K,V> |
next() |
void |
remove() |
protected abstract Data |
toData(Object obj) |
protected abstract <T> T |
toObject(Object data) |
protected CacheKeyIteratorResult result
protected final int partitionCount
protected int partitionIndex
protected int lastTableIndex
protected final int fetchSize
protected int index
protected int currentIndex
public boolean hasNext()
public void remove()
protected boolean advance()
protected void ensureOpen()
protected int getPartitionCount()
protected abstract CacheKeyIteratorResult fetch()
protected abstract <T> T toObject(Object data)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.