Package org.elasticsearch.transport
Interface TransportFuture<V>
- All Superinterfaces:
java.util.concurrent.Future<V>
- All Known Implementing Classes:
PlainTransportFuture
public interface TransportFuture<V>
extends java.util.concurrent.Future<V>
-
Method Summary
Modifier and Type Method Description V
txGet()
Waits if necessary for the computation to complete, and then retrieves its result.V
txGet(long timeout, java.util.concurrent.TimeUnit unit)
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.