Package org.apache.cassandra.net
Interface IVerbHandler<T>
- All Known Implementing Classes:
AbstractMutationVerbHandler,AbstractPaxosVerbHandler,BatchRemoveVerbHandler,BatchStoreVerbHandler,CounterMutationVerbHandler,EchoVerbHandler,GossipDigestAck2VerbHandler,GossipDigestAckVerbHandler,GossipDigestSynVerbHandler,GossipShutdownVerbHandler,GossipVerbHandler,HintVerbHandler,MutationVerbHandler,PaxosCommit.RequestHandler,PaxosCommitAndPrepare.RequestHandler,PaxosPrepare.RequestHandler,PaxosPrepareRefresh.RequestHandler,PaxosPropose.RequestHandler,PaxosRepair.RequestHandler,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
-
Method Details
-
doVerb
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:
IOException
-