Package org.elasticsearch.transport
Class FutureTransportResponseHandler<T extends TransportResponse>
java.lang.Object
org.elasticsearch.transport.FutureTransportResponseHandler<T>
- All Implemented Interfaces:
Writeable.Reader<T>
,TransportResponseHandler<T>
public abstract class FutureTransportResponseHandler<T extends TransportResponse>
extends Object
implements TransportResponseHandler<T>
A response handler to be used when all interaction will be done through the
TransportFuture
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.transport.TransportResponseHandler
TransportResponseHandler.Empty
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.transport.TransportResponseHandler
wrap
Methods inherited from interface org.elasticsearch.common.io.stream.Writeable.Reader
read
-
Constructor Details
-
FutureTransportResponseHandler
public FutureTransportResponseHandler()
-
-
Method Details
-
handleResponse
- Specified by:
handleResponse
in interfaceTransportResponseHandler<T extends TransportResponse>
-
handleException
- Specified by:
handleException
in interfaceTransportResponseHandler<T extends TransportResponse>
-
executor
- Specified by:
executor
in interfaceTransportResponseHandler<T extends TransportResponse>
-