voldemort.versioning
Interface Version
- All Known Implementing Classes:
- VectorClock
public interface Version
An interface that allows us to determine if a given version happened before
or after another version.
This could have been done using the comparable interface but that is
confusing, because the numeric codes are easily confused, and because
concurrent versions are not necessarily "equal" in the normal sense.
Method Summary |
Occurred |
compare(Version v)
Return whether or not the given version preceeded this one, succeeded it,
or is concurrant with it |
compare
Occurred compare(Version v)
- Return whether or not the given version preceeded this one, succeeded it,
or is concurrant with it
- Parameters:
v
- The other version
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu