TaskAwareTransportRequestHandler
, TransportLivenessAction
, TransportReplicationAction.OperationTransportHandler
, TransportReplicationAction.PrimaryOperationTransportHandler
, TransportReplicationAction.ReplicaOperationTransportHandler
public interface TransportRequestHandler<T extends TransportRequest>
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
|
default void messageReceived(T request, TransportChannel channel, Task task) throws java.lang.Exception
java.lang.Exception
void messageReceived(T request, TransportChannel channel) throws java.lang.Exception
java.lang.Exception