org.elasticsearch.transport
Interface TransportFuture<V>

All Superinterfaces:
Future<V>
All Known Implementing Classes:
PlainTransportFuture

public interface TransportFuture<V>
extends Future<V>


Method Summary
 V txGet()
          Waits if necessary for the computation to complete, and then retrieves its result.
 V txGet(long timeout, TimeUnit unit)
          Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
 
Methods inherited from interface java.util.concurrent.Future
cancel, get, get, isCancelled, isDone
 

Method Detail

txGet

V txGet()
        throws ElasticSearchException
Waits if necessary for the computation to complete, and then retrieves its result.

Throws:
ElasticSearchException

txGet

V txGet(long timeout,
        TimeUnit unit)
        throws ElasticSearchException
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.

Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.