org.hibernate.cache
Class OptimisticTreeCache.NonLockingDataVersion
java.lang.Object
org.hibernate.cache.OptimisticTreeCache.NonLockingDataVersion
- All Implemented Interfaces:
- Serializable, org.jboss.cache.optimistic.DataVersion
- Enclosing class:
- OptimisticTreeCache
public static class OptimisticTreeCache.NonLockingDataVersion
- extends Object
- implements org.jboss.cache.optimistic.DataVersion
Used in regions where no locking should ever occur. This includes query-caches,
update-timestamps caches, collection caches, and entity caches where the entity
is not versioned.
- 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.NonLockingDataVersion
public OptimisticTreeCache.NonLockingDataVersion()
newerThan
public boolean newerThan(org.jboss.cache.optimistic.DataVersion dataVersion)
- Specified by:
newerThan
in interface org.jboss.cache.optimistic.DataVersion