Package org.elasticsearch.transport
Interface TransportRequestHandler<T extends TransportRequest>
-
- All Known Implementing Classes:
TaskAwareTransportRequestHandler
,TransportLivenessAction
,TransportReplicationAction.OperationTransportHandler
,TransportReplicationAction.PrimaryOperationTransportHandler
,TransportReplicationAction.ReplicaOperationTransportHandler
public interface TransportRequestHandler<T extends TransportRequest>
-
-
Method Summary
Modifier and Type Method Description void
messageReceived(T request, TransportChannel channel)
default void
messageReceived(T request, TransportChannel channel, Task task)
Override this method if access to the Task parameter is needed
-
-
-
Method Detail
-
messageReceived
default void messageReceived(T request, TransportChannel channel, Task task) throws java.lang.Exception
Override this method if access to the Task parameter is needed- Throws:
java.lang.Exception
-
messageReceived
void messageReceived(T request, TransportChannel channel) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-