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
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.transport.TransportResponseHandler
wrapMethods inherited from interface org.elasticsearch.common.io.stream.Writeable.Reader
read
-
Constructor Details
-
FutureTransportResponseHandler
public FutureTransportResponseHandler()
-
-
Method Details
-
handleResponse
- Specified by:
handleResponsein interfaceTransportResponseHandler<T extends TransportResponse>
-
handleException
- Specified by:
handleExceptionin interfaceTransportResponseHandler<T extends TransportResponse>
-
executor
- Specified by:
executorin interfaceTransportResponseHandler<T extends TransportResponse>
-