|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionFuture<T>
An extension to Future
allowing for simplified "get" operations.
Method Summary | |
---|---|
T |
actionGet()
Similar to Future.get() , just wrapping the InterruptedException with
ElasticSearchInterruptedException , and throwing the actual
cause of the ExecutionException . |
T |
actionGet(long timeoutMillis)
Similar to Future.get(long, java.util.concurrent.TimeUnit) , just wrapping the InterruptedException with
ElasticSearchInterruptedException , and throwing the actual
cause of the ExecutionException . |
T |
actionGet(long timeout,
java.util.concurrent.TimeUnit unit)
Similar to Future.get(long, java.util.concurrent.TimeUnit) , just wrapping the InterruptedException with
ElasticSearchInterruptedException , and throwing the actual
cause of the ExecutionException . |
T |
actionGet(java.lang.String timeout)
Similar to Future.get(long, java.util.concurrent.TimeUnit) , just wrapping the InterruptedException with
ElasticSearchInterruptedException , and throwing the actual
cause of the ExecutionException . |
T |
actionGet(TimeValue timeout)
Similar to Future.get(long, java.util.concurrent.TimeUnit) , just wrapping the InterruptedException with
ElasticSearchInterruptedException , and throwing the actual
cause of the ExecutionException . |
Methods inherited from interface java.util.concurrent.Future |
---|
cancel, get, get, isCancelled, isDone |
Method Detail |
---|
T actionGet() throws ElasticSearchException
Future.get()
, just wrapping the InterruptedException
with
ElasticSearchInterruptedException
, and throwing the actual
cause of the ExecutionException
.
ElasticSearchException
T actionGet(java.lang.String timeout) throws ElasticSearchException
Future.get(long, java.util.concurrent.TimeUnit)
, just wrapping the InterruptedException
with
ElasticSearchInterruptedException
, and throwing the actual
cause of the ExecutionException
.
ElasticSearchException
T actionGet(long timeoutMillis) throws ElasticSearchException
Future.get(long, java.util.concurrent.TimeUnit)
, just wrapping the InterruptedException
with
ElasticSearchInterruptedException
, and throwing the actual
cause of the ExecutionException
.
timeoutMillis
- Timeout in millis
ElasticSearchException
T actionGet(long timeout, java.util.concurrent.TimeUnit unit) throws ElasticSearchException
Future.get(long, java.util.concurrent.TimeUnit)
, just wrapping the InterruptedException
with
ElasticSearchInterruptedException
, and throwing the actual
cause of the ExecutionException
.
ElasticSearchException
T actionGet(TimeValue timeout) throws ElasticSearchException
Future.get(long, java.util.concurrent.TimeUnit)
, just wrapping the InterruptedException
with
ElasticSearchInterruptedException
, and throwing the actual
cause of the ExecutionException
.
ElasticSearchException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |