org.infinispan.container.versioning
Interface EntryVersion
- All Known Subinterfaces:
- IncrementableEntryVersion
- All Known Implementing Classes:
- SimpleClusteredVersion
public interface EntryVersion
A version is used to compare entries against one another. Versions do not guarantee contiguity, but do guarantee
to be comparable. However this comparability is not the same as the JDK's Comparable
interface. It is
richer in that Comparable
doesn't differentiate between instances that are the same versus instances that
are equal-but-different.
- Since:
- 5.1
- Author:
- Manik Surtani
compareTo
InequalVersionComparisonResult compareTo(EntryVersion other)
- Compares the given version against the current instance.
- Parameters:
other
- the other version to compare against
- Returns:
- a InequalVersionComparisonResult instance
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.