org.hibernate.cache
Class OptimisticTreeCache.NonLockingDataVersion

java.lang.Object
  extended by 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
           
 
Constructor Summary
OptimisticTreeCache.NonLockingDataVersion()
           
 
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
 

Field Detail

INSTANCE

public static final org.jboss.cache.optimistic.DataVersion INSTANCE
Constructor Detail

OptimisticTreeCache.NonLockingDataVersion

public OptimisticTreeCache.NonLockingDataVersion()
Method Detail

newerThan

public boolean newerThan(org.jboss.cache.optimistic.DataVersion dataVersion)
Specified by:
newerThan in interface org.jboss.cache.optimistic.DataVersion