voldemort.rest
Class VectorClockWrapper
java.lang.Object
voldemort.rest.VectorClockWrapper
public class VectorClockWrapper
- extends java.lang.Object
A wrapper for Vector clock used for serialization purposes. This Wrapper is
then converted to a JSON string which in turn gets embedded in a HTTP header
field.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorClockWrapper
public VectorClockWrapper()
VectorClockWrapper
public VectorClockWrapper(VectorClock vc)
getVersions
public java.util.List<ClockEntry> getVersions()
setVersions
public void setVersions(java.util.List<ClockEntry> vectorClock)
getTimestamp
public long getTimestamp()
setTimestamp
public void setTimestamp(long timestamp)
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu