Package org.apache.cassandra.net
Interface IVerbHandler<T>
-
- All Known Implementing Classes:
BatchRemoveVerbHandler
,BatchStoreVerbHandler
,CommitVerbHandler
,CounterMutationVerbHandler
,EchoVerbHandler
,GossipDigestAck2VerbHandler
,GossipDigestAckVerbHandler
,GossipDigestSynVerbHandler
,GossipShutdownVerbHandler
,GossipVerbHandler
,HintVerbHandler
,MutationVerbHandler
,PrepareVerbHandler
,ProposeVerbHandler
,ReadCommandVerbHandler
,ReadRepairVerbHandler
,RepairMessageVerbHandler
,ReplicationDoneVerbHandler
,SchemaPullVerbHandler
,SchemaPushVerbHandler
,SchemaVersionVerbHandler
,SnapshotVerbHandler
,TruncateVerbHandler
public interface IVerbHandler<T>
IVerbHandler provides the method that all verb handlers need to implement. The concrete implementation of this interface would provide the functionality for a given verb.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doVerb(Message<T> message)
This method delivers a message to the implementing class (if the implementing class was registered by a call to MessagingService.registerVerbHandlers).
-
-
-
Method Detail
-
doVerb
void doVerb(Message<T> message) throws java.io.IOException
This method delivers a message to the implementing class (if the implementing class was registered by a call to MessagingService.registerVerbHandlers). Note that the caller should not be holding any locks when calling this method because the implementation may be synchronized.- Parameters:
message
- - incoming message that needs handling.- Throws:
java.io.IOException
-
-