voldemort.utils
Class ConsistencyCheck.VersionValue
java.lang.Object
voldemort.utils.ConsistencyCheck.Value
voldemort.utils.ConsistencyCheck.VersionValue
- Enclosing class:
- ConsistencyCheck
public static class ConsistencyCheck.VersionValue
- extends ConsistencyCheck.Value
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
version
protected final Version version
ConsistencyCheck.VersionValue
protected ConsistencyCheck.VersionValue(Versioned<byte[]> versioned)
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