public class GridCacheQueryErrorFuture<T> extends GridFinishedFuture<Collection<T>> implements CacheQueryFuture<T>
Constructor and Description |
---|
GridCacheQueryErrorFuture(GridKernalContext ctx,
Throwable err) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
T |
next()
Returns next element from result set.
|
cancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, result, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cancel, isDone
chain, chain, error, get, get, get, getUninterruptibly, isCancelled, listen, result
public GridCacheQueryErrorFuture(GridKernalContext ctx, Throwable err)
ctx
- Context.err
- Error.@Nullable public T next() throws IgniteCheckedException
This is a blocking call which will wait if there are no elements available immediately.
next
in interface CacheQueryFuture<T>
null
if all the elements have been fetched.IgniteCheckedException
- If failed.public void close() throws Exception
close
in interface AutoCloseable
Exception
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017