Package org.elasticsearch.transport
Class EmptyTransportResponseHandler
- java.lang.Object
-
- org.elasticsearch.transport.EmptyTransportResponseHandler
-
- All Implemented Interfaces:
Writeable.Reader<TransportResponse.Empty>
,TransportResponseHandler<TransportResponse.Empty>
public class EmptyTransportResponseHandler extends java.lang.Object implements TransportResponseHandler<TransportResponse.Empty>
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyTransportResponseHandler
INSTANCE_SAME
-
Constructor Summary
Constructors Constructor Description EmptyTransportResponseHandler(java.lang.String executor)
-
Method Summary
Modifier and Type Method Description java.lang.String
executor()
void
handleException(TransportException exp)
void
handleResponse(TransportResponse.Empty response)
TransportResponse.Empty
read(StreamInput in)
ReadV
-type value from a stream.
-
-
-
Field Detail
-
INSTANCE_SAME
public static final EmptyTransportResponseHandler INSTANCE_SAME
-
-
Method Detail
-
read
public TransportResponse.Empty read(StreamInput in)
Description copied from interface:Writeable.Reader
ReadV
-type value from a stream.- Specified by:
read
in interfaceWriteable.Reader<TransportResponse.Empty>
- Parameters:
in
- Input to read the value from
-
handleResponse
public void handleResponse(TransportResponse.Empty response)
- Specified by:
handleResponse
in interfaceTransportResponseHandler<TransportResponse.Empty>
-
handleException
public void handleException(TransportException exp)
- Specified by:
handleException
in interfaceTransportResponseHandler<TransportResponse.Empty>
-
executor
public java.lang.String executor()
- Specified by:
executor
in interfaceTransportResponseHandler<TransportResponse.Empty>
-
-