Package org.opensearch.common.action
Interface ActionFuture<T>
- All Superinterfaces:
Future<T>
An extension to
Future allowing for simplified "get" operations.- Opensearch.internal:
-
Method Summary
Modifier and TypeMethodDescriptionSimilar toFuture.get(), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead.actionGet(long timeoutMillis) Similar toFuture.get(long, java.util.concurrent.TimeUnit), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead.Similar toFuture.get(long, java.util.concurrent.TimeUnit), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead.Similar toFuture.get(long, java.util.concurrent.TimeUnit), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead.Similar toFuture.get(long, java.util.concurrent.TimeUnit), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead.
-
Method Details
-
actionGet
T actionGet()Similar toFuture.get(), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead. Also catchesExecutionExceptionand throws the actual cause instead. -
actionGet
Similar toFuture.get(long, java.util.concurrent.TimeUnit), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead. Also catchesExecutionExceptionand throws the actual cause instead. -
actionGet
Similar toFuture.get(long, java.util.concurrent.TimeUnit), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead. Also catchesExecutionExceptionand throws the actual cause instead.- Parameters:
timeoutMillis- Timeout in millis
-
actionGet
Similar toFuture.get(long, java.util.concurrent.TimeUnit), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead. Also catchesExecutionExceptionand throws the actual cause instead. -
actionGet
Similar toFuture.get(long, java.util.concurrent.TimeUnit), just catching theInterruptedExceptionand throwing anIllegalStateExceptioninstead. Also catchesExecutionExceptionand throws the actual cause instead.
-