V - Type for cache query future.public class CacheWeakQueryIteratorsHolder<V> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CacheWeakQueryIteratorsHolder.WeakQueryCloseableIterator<T> |
static interface |
CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator<T> |
| Constructor and Description |
|---|
CacheWeakQueryIteratorsHolder(IgniteLogger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkWeakQueue()
Closes unreachable iterators.
|
void |
clearQueries()
Cancel all cache queries.
|
<T> CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator<T> |
iterator(CacheQueryFuture<V> fut,
CacheIteratorConverter<T,V> convert) |
<T> CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator<T> |
iterator(GridCloseableIterator<V> iter,
CacheIteratorConverter<T,V> convert) |
void |
removeIterator(CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator it) |
public CacheWeakQueryIteratorsHolder(IgniteLogger log)
log - Logger.public <T> CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator<T> iterator(CacheQueryFuture<V> fut, CacheIteratorConverter<T,V> convert)
T - Type for the iterator.fut - Query to iterate.convert - Cache iterator converter.public <T> CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator<T> iterator(GridCloseableIterator<V> iter, CacheIteratorConverter<T,V> convert)
T - Type for the iterator.iter - Closeable iterator.public void removeIterator(CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator it) throws IgniteCheckedException
it - Iterator.IgniteCheckedException - If failed.public void checkWeakQueue()
public void clearQueries()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016