org.hibernate.cache
Class OptimisticTreeCache.CircumventChecksDataVersion

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

public OptimisticTreeCache.CircumventChecksDataVersion()
Method Detail

newerThan

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


Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved