org.jboss.hibernate.jbc.cacheprovider
Class OptimisticJBCCache.CircumventChecksDataVersion
java.lang.Object
org.jboss.hibernate.jbc.cacheprovider.OptimisticJBCCache.CircumventChecksDataVersion
- All Implemented Interfaces:
- Serializable, org.jboss.cache.optimistic.DataVersion
- Enclosing class:
- OptimisticJBCCache
public static class OptimisticJBCCache.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
OptimisticJBCCache.CircumventChecksDataVersion
public OptimisticJBCCache.CircumventChecksDataVersion()
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.