voldemort.utils
Class ConsistencyCheck.VersionValue

java.lang.Object
  extended by voldemort.utils.ConsistencyCheck.Value
      extended by voldemort.utils.ConsistencyCheck.VersionValue
Enclosing class:
ConsistencyCheck

public static class ConsistencyCheck.VersionValue
extends ConsistencyCheck.Value


Field Summary
protected  Version version
           
 
Constructor Summary
protected ConsistencyCheck.VersionValue(Versioned<byte[]> versioned)
           
 
Method Summary
 Occurred compare(ConsistencyCheck.Value v)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean isExpired(long expiredTimeMs)
           
 boolean isTimeStampLaterThan(ConsistencyCheck.Value currentLatest)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

version

protected final Version version
Constructor Detail

ConsistencyCheck.VersionValue

protected ConsistencyCheck.VersionValue(Versioned<byte[]> versioned)
Method Detail

compare

public Occurred compare(ConsistencyCheck.Value v)

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in class ConsistencyCheck.Value

hashCode

public int hashCode()
Specified by:
hashCode in class ConsistencyCheck.Value

toString

public java.lang.String toString()
Specified by:
toString in class ConsistencyCheck.Value

isExpired

public boolean isExpired(long expiredTimeMs)
Specified by:
isExpired in class ConsistencyCheck.Value

isTimeStampLaterThan

public boolean isTimeStampLaterThan(ConsistencyCheck.Value currentLatest)
Specified by:
isTimeStampLaterThan in class ConsistencyCheck.Value


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