org.jboss.hibernate.jbc.cacheprovider
Class OptimisticJBCCache.NonLockingDataVersion

java.lang.Object
  extended by org.jboss.hibernate.jbc.cacheprovider.OptimisticJBCCache.NonLockingDataVersion
All Implemented Interfaces:
Serializable, org.jboss.cache.optimistic.DataVersion
Enclosing class:
OptimisticJBCCache

public static class OptimisticJBCCache.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
OptimisticJBCCache.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

OptimisticJBCCache.NonLockingDataVersion

public OptimisticJBCCache.NonLockingDataVersion()
Method Detail

newerThan

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


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.