The default implementation of a DataVersion, uses a
long
to compare versions. This class is immutable.
Also note that this is meant to control implicit, internal versioning. Do not attempt to instantiate or use instances of this class explicitly, via the {@link org.jboss.cache.config.Option#setDataVersion(DataVersion)} API, as it WILLbreak things.
@author
Manik Surtani (manik AT jboss DOT org)
@deprecated this is to support a deprecated locking scheme (Optimistic Locking). Will be removed when Optimistic Locking support is removed.