org.elasticsearch.transport
Class VoidTransportResponseHandler
java.lang.Object
org.elasticsearch.transport.VoidTransportResponseHandler
- All Implemented Interfaces:
- TransportResponseHandler<VoidStreamable>
public class VoidTransportResponseHandler
- extends Object
- implements TransportResponseHandler<VoidStreamable>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE_SAME
public static final VoidTransportResponseHandler INSTANCE_SAME
VoidTransportResponseHandler
public VoidTransportResponseHandler(String executor)
newInstance
public VoidStreamable newInstance()
- Description copied from interface:
TransportResponseHandler
- creates a new instance of the return type from the remote call.
called by the infra before de-serializing the response.
- Specified by:
newInstance
in interface TransportResponseHandler<VoidStreamable>
- Returns:
- a new response copy.
handleResponse
public void handleResponse(VoidStreamable response)
- Specified by:
handleResponse
in interface TransportResponseHandler<VoidStreamable>
handleException
public void handleException(TransportException exp)
- Specified by:
handleException
in interface TransportResponseHandler<VoidStreamable>
executor
public String executor()
- Specified by:
executor
in interface TransportResponseHandler<VoidStreamable>
Copyright © 2009-2012. All Rights Reserved.