java.lang.Object
io.ebeaninternal.server.query.QueryFutureMap<K,T>
Default implementation for FutureMap.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancel(boolean mayInterruptIfRunning) FutureTask<Map<K, T>> get()getQuery()getUnchecked(long timeout, TimeUnit unit) final booleanfinal booleanisDone()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
get, get, isCancelled, isDone
-
Constructor Details
-
QueryFutureMap
-
-
Method Details
-
futureTask
-
getQuery
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
getUnchecked
- Specified by:
getUncheckedin interfaceFutureMap<K,T>
-
getUnchecked
- Specified by:
getUncheckedin interfaceFutureMap<K,T> - Throws:
TimeoutException
-
get
- Specified by:
getin interfaceFuture<T>- Throws:
InterruptedExceptionExecutionException
-
get
public final Map<K,T> get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<T>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
isCancelled
public final boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<T>
-
isDone
public final boolean isDone()
-