org.apache.cassandra.service
Class AntiEntropyService.TreeRequestVerbHandler
java.lang.Object
org.apache.cassandra.service.AntiEntropyService.TreeRequestVerbHandler
- All Implemented Interfaces:
- IVerbHandler
- Enclosing class:
- AntiEntropyService
public static class AntiEntropyService.TreeRequestVerbHandler
- extends java.lang.Object
- implements IVerbHandler
Handler for requests from remote nodes to generate a valid tree.
The payload is a CFPair representing the columnfamily to validate.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERIALIZER
public static final AntiEntropyService.TreeRequestVerbHandler SERIALIZER
AntiEntropyService.TreeRequestVerbHandler
public AntiEntropyService.TreeRequestVerbHandler()
serialize
public void serialize(AntiEntropyService.TreeRequest request,
java.io.DataOutput dos,
int version)
throws java.io.IOException
- Throws:
java.io.IOException
deserialize
public AntiEntropyService.TreeRequest deserialize(java.io.DataInput dis,
int version)
throws java.io.IOException
- Throws:
java.io.IOException
doVerb
public void doVerb(Message message,
java.lang.String id)
- Trigger a validation compaction which will return the tree upon completion.
- Specified by:
doVerb
in interface IVerbHandler
- Parameters:
message
- - incoming message that needs handling.
Copyright © 2011 The Apache Software Foundation