org.hibernate.cache
Class OptimisticTreeCache.CircumventChecksDataVersion
java.lang.Object
org.hibernate.cache.OptimisticTreeCache.CircumventChecksDataVersion
- All Implemented Interfaces:
- Serializable, org.jboss.cache.optimistic.DataVersion
- Enclosing class:
- OptimisticTreeCache
public static class OptimisticTreeCache.CircumventChecksDataVersion
- extends Object
- implements org.jboss.cache.optimistic.DataVersion
Used to signal to a DataVersionAdapter to simply not perform any checks. This
is currently needed for proper handling of remove() calls for entity cache regions
(we do not know the version info...).
- See Also:
- Serialized Form
Field Summary |
static org.jboss.cache.optimistic.DataVersion |
INSTANCE
|
Method Summary |
boolean |
newerThan(org.jboss.cache.optimistic.DataVersion dataVersion)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final org.jboss.cache.optimistic.DataVersion INSTANCE
OptimisticTreeCache.CircumventChecksDataVersion
public OptimisticTreeCache.CircumventChecksDataVersion()
newerThan
public boolean newerThan(org.jboss.cache.optimistic.DataVersion dataVersion)
- Specified by:
newerThan
in interface org.jboss.cache.optimistic.DataVersion