Package io.ebeaninternal.server.query
Class QueryFutureIds<T>
- java.lang.Object
-
- io.ebeaninternal.server.query.QueryFutureIds<T>
-
-
Constructor Summary
Constructors Constructor Description QueryFutureIds(CallableQueryIds<T> call)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cancel(boolean mayInterruptIfRunning)
T
get()
T
get(long timeout, TimeUnit unit)
FutureTask<List<Object>>
getFutureTask()
Query<T>
getQuery()
Returns the original query used to fetch the Id's.Transaction
getTransaction()
boolean
isCancelled()
boolean
isDone()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.concurrent.Future
get, get, isCancelled, isDone
-
-
-
-
Constructor Detail
-
QueryFutureIds
public QueryFutureIds(CallableQueryIds<T> call)
-
-
Method Detail
-
getFutureTask
public FutureTask<List<Object>> getFutureTask()
-
getTransaction
public Transaction getTransaction()
-
getQuery
public Query<T> getQuery()
Description copied from interface:FutureIds
Returns the original query used to fetch the Id's.
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
get
public T get() throws InterruptedException, ExecutionException
- Specified by:
get
in interfaceFuture<T>
- Throws:
InterruptedException
ExecutionException
-
get
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
get
in interfaceFuture<T>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceFuture<T>
-
-