Package org.apache.cassandra.service
Class EchoVerbHandler
- java.lang.Object
-
- org.apache.cassandra.service.EchoVerbHandler
-
- All Implemented Interfaces:
IVerbHandler<NoPayload>
public class EchoVerbHandler extends java.lang.Object implements IVerbHandler<NoPayload>
-
-
Field Summary
Fields Modifier and Type Field Description static EchoVerbHandlerinstance
-
Constructor Summary
Constructors Constructor Description EchoVerbHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoVerb(Message<NoPayload> message)This method delivers a message to the implementing class (if the implementing class was registered by a call to MessagingService.registerVerbHandlers).
-
-
-
Field Detail
-
instance
public static final EchoVerbHandler instance
-
-
Method Detail
-
doVerb
public void doVerb(Message<NoPayload> message)
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<NoPayload>- Parameters:
message- - incoming message that needs handling.
-
-