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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcancel, isDonechain, chain, error, get, get, get, getUninterruptibly, isCancelled, listen, resultpublic 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 AutoCloseableException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019