Package org.apache.cassandra.hints
Class HintVerbHandler
java.lang.Object
org.apache.cassandra.hints.HintVerbHandler
- All Implemented Interfaces:
IVerbHandler<HintMessage>
Verb handler used both for hint dispatch and streaming.
With the non-sstable format, we cannot just stream hint sstables on node decommission. So sometimes, at decommission time, we might have to stream hints to a non-owning host (say, if the owning host B is down during decommission of host A). In that case the handler just stores the received hint in its local hint store.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoVerb(Message<HintMessage> message) This method delivers a message to the implementing class (if the implementing class was registered by a call to MessagingService.registerVerbHandlers).
-
Field Details
-
instance
-
-
Constructor Details
-
HintVerbHandler
public HintVerbHandler()
-
-
Method Details
-
doVerb
Description copied from interface:IVerbHandlerThis 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.- Specified by:
doVerbin interfaceIVerbHandler<HintMessage>- Parameters:
message- - incoming message that needs handling.
-