public interface TransportFuture<V> extends Future<V>
Modifier and Type | Method and Description |
---|---|
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.
|
V txGet() throws ElasticsearchException
ElasticsearchException
V txGet(long timeout, TimeUnit unit) throws ElasticsearchException
ElasticsearchException
Copyright © 2009–2015. All rights reserved.