futureTask| Constructor and Description |
|---|
QueryFutureIds(CallableQueryIds<T> call) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
FutureTask<List<Object>> |
getFutureTask() |
List<Object> |
getPartialIds()
Return the list of Id's which could be partially populated.
|
Query<T> |
getQuery()
Returns the original query used to fetch the Id's.
|
Transaction |
getTransaction() |
get, get, isCancelled, isDoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, get, isCancelled, isDonepublic QueryFutureIds(CallableQueryIds<T> call)
public FutureTask<List<Object>> getFutureTask()
public Transaction getTransaction()
public Query<T> getQuery()
FutureIdspublic List<Object> getPartialIds()
FutureIdsThat is the query getting the id's could still be running and adding id's to this list.
To get the list of Id's ensuring the query has finished use the
Future.get() method instead of this one.
getPartialIds in interface FutureIds<T>Copyright © 2014. All Rights Reserved.