Uses of Class
voldemort.versioning.VectorClock

Packages that use VectorClock
voldemort.client.protocol Classes that abstract the serialization format for Voldemort client requests. 
voldemort.client.protocol.pb A protocol buffers based client-side request format. 
voldemort.client.protocol.vold Classes specific to our native Voldemort protocol. 
voldemort.coordinator   
voldemort.server.rest   
voldemort.versioning Classes for operating on vector clocks and dealing with distributed state. 
 

Uses of VectorClock in voldemort.client.protocol
 

Methods in voldemort.client.protocol with parameters of type VectorClock
 void RequestFormat.writeDeleteRequest(java.io.DataOutputStream output, java.lang.String storeName, ByteArray key, VectorClock version, RequestRoutingType routingType)
           
 void RequestFormat.writePutRequest(java.io.DataOutputStream output, java.lang.String storeName, ByteArray key, byte[] value, byte[] transforms, VectorClock version, RequestRoutingType routingType)
           
 

Uses of VectorClock in voldemort.client.protocol.pb
 

Methods in voldemort.client.protocol.pb that return VectorClock
static VectorClock ProtoUtils.decodeClock(VProto.VectorClock encoded)
           
 

Methods in voldemort.client.protocol.pb with parameters of type VectorClock
 void ProtoBuffClientRequestFormat.writeDeleteRequest(java.io.DataOutputStream output, java.lang.String storeName, ByteArray key, VectorClock version, RequestRoutingType routingType)
           
 void ProtoBuffClientRequestFormat.writePutRequest(java.io.DataOutputStream output, java.lang.String storeName, ByteArray key, byte[] value, byte[] transforms, VectorClock version, RequestRoutingType routingType)
           
 

Uses of VectorClock in voldemort.client.protocol.vold
 

Methods in voldemort.client.protocol.vold with parameters of type VectorClock
 void VoldemortNativeClientRequestFormat.writeDeleteRequest(java.io.DataOutputStream outputStream, java.lang.String storeName, ByteArray key, VectorClock version, RequestRoutingType routingType)
           
 void VoldemortNativeClientRequestFormat.writePutRequest(java.io.DataOutputStream outputStream, java.lang.String storeName, ByteArray key, byte[] value, byte[] transforms, VectorClock version, RequestRoutingType routingType)
           
 

Uses of VectorClock in voldemort.coordinator
 

Methods in voldemort.coordinator that return VectorClock
static VectorClock CoordinatorUtils.deserializeVectorClock(java.lang.String serializedVC)
           
 

Methods in voldemort.coordinator that return types with arguments of type VectorClock
static java.util.List<VectorClock> CoordinatorUtils.deserializeVectorClocks(java.lang.String serializedVC)
           
 

Methods in voldemort.coordinator with parameters of type VectorClock
static java.lang.String CoordinatorUtils.getSerializedVectorClock(VectorClock vc)
          Function to serialize the given Vector clock into a string.
 void HttpPutRequestExecutor.writeResponse(VectorClock successfulPutVC)
           
 

Method parameters in voldemort.coordinator with type arguments of type VectorClock
static java.lang.String CoordinatorUtils.getSerializedVectorClocks(java.util.List<VectorClock> vectorClocks)
          Function to serialize the given list of Vector clocks into a string.
 

Constructors in voldemort.coordinator with parameters of type VectorClock
VectorClockWrapper(VectorClock vc)
           
 

Uses of VectorClock in voldemort.server.rest
 

Fields in voldemort.server.rest declared as VectorClock
protected  VectorClock RestServerRequestValidator.parsedVectorClock
           
 

Uses of VectorClock in voldemort.versioning
 

Methods in voldemort.versioning that return VectorClock
 VectorClock VectorClock.clone()
           
 VectorClock VectorClock.incremented(int nodeId, long time)
          Get new vector clock based on this clock but incremented on index nodeId
 VectorClock VectorClock.merge(VectorClock clock)
           
 

Methods in voldemort.versioning with parameters of type VectorClock
static Occurred VectorClock.compare(VectorClock v1, VectorClock v2)
          Compare two VectorClocks, the outcomes will be one of the following:
-- Clock 1 is BEFORE clock 2, if there exists an nodeId such that c1(nodeId) <= c2(nodeId) and there does not exist another nodeId such that c1(nodeId) > c2(nodeId).
 void VectorClock.copyFromVectorClock(VectorClock vc)
          Function to copy values from another VectorClock.
 VectorClock VectorClock.merge(VectorClock clock)
           
 



Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu