org.apache.cassandra.service
Class AntiEntropyService.TreeResponseVerbHandler
java.lang.Object
org.apache.cassandra.service.AntiEntropyService.TreeResponseVerbHandler
- All Implemented Interfaces:
- IVerbHandler
- Enclosing class:
- AntiEntropyService
public static class AntiEntropyService.TreeResponseVerbHandler
- extends java.lang.Object
- implements IVerbHandler
Handler for responses from remote nodes which contain a valid tree.
The payload is a completed Validator object from the remote endpoint.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERIALIZER
public static final AntiEntropyService.TreeResponseVerbHandler SERIALIZER
AntiEntropyService.TreeResponseVerbHandler
public AntiEntropyService.TreeResponseVerbHandler()
serialize
public void serialize(AntiEntropyService.Validator v,
java.io.DataOutputStream dos,
int version)
throws java.io.IOException
- Throws:
java.io.IOException
deserialize
public AntiEntropyService.Validator deserialize(java.io.DataInputStream dis,
int version)
throws java.io.IOException
- Throws:
java.io.IOException
doVerb
public void doVerb(Message message,
java.lang.String id)
- 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 interface IVerbHandler
- Parameters:
message
- - incoming message that needs handling.
Copyright © 2011 The Apache Software Foundation