voldemort.versioning
Class ClockEntry

java.lang.Object
  extended by voldemort.versioning.ClockEntry
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

Deprecated.

@Deprecated
public final class ClockEntry
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

An entry element for a vector clock versioning scheme This assigns the version from a specific machine, the VectorClock keeps track of the complete system version, which will consist of many individual Version objects.

See Also:
Serialized Form

Constructor Summary
ClockEntry()
          Deprecated. Default constructor
ClockEntry(short nodeId, long version)
          Deprecated. Create a new Version from constituate parts
 
Method Summary
 ClockEntry clone()
          Deprecated.  
 boolean equals(java.lang.Object o)
          Deprecated.  
 short getNodeId()
          Deprecated.  
 long getVersion()
          Deprecated.  
 int hashCode()
          Deprecated.  
 ClockEntry incremented()
          Deprecated.  
 void setNodeId(short nodeId)
          Deprecated.  
 void setVersion(long version)
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 void validate()
          Deprecated.  
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClockEntry

public ClockEntry()
Deprecated. 
Default constructor


ClockEntry

public ClockEntry(short nodeId,
                  long version)
Deprecated. 
Create a new Version from constituate parts

Parameters:
nodeId - The node id
version - The current version
Method Detail

clone

public ClockEntry clone()
Deprecated. 
Overrides:
clone in class java.lang.Object

getNodeId

public short getNodeId()
Deprecated. 

getVersion

public long getVersion()
Deprecated. 

incremented

public ClockEntry incremented()
Deprecated. 

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Deprecated. 
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object

setNodeId

public void setNodeId(short nodeId)
Deprecated. 

setVersion

public void setVersion(long version)
Deprecated. 

validate

public void validate()
Deprecated. 


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