Class ProposeVerbHandler
- java.lang.Object
-
- org.apache.cassandra.service.paxos.v1.ProposeVerbHandler
-
- All Implemented Interfaces:
IVerbHandler<Commit>
public class ProposeVerbHandler extends java.lang.Object implements IVerbHandler<Commit>
-
-
Field Summary
Fields Modifier and Type Field Description static ProposeVerbHandler
instance
-
Constructor Summary
Constructors Constructor Description ProposeVerbHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Boolean
doPropose(Commit proposal)
void
doVerb(Message<Commit> 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 ProposeVerbHandler instance
-
-
Method Detail
-
doPropose
public static java.lang.Boolean doPropose(Commit proposal)
-
doVerb
public void doVerb(Message<Commit> message)
Description copied from interface:IVerbHandler
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.- Specified by:
doVerb
in interfaceIVerbHandler<Commit>
- Parameters:
message
- - incoming message that needs handling.
-
-