org.hibernate.cache.jbc2.util
Class NonLockingDataVersion

java.lang.Object
  extended by org.hibernate.cache.jbc2.util.NonLockingDataVersion
All Implemented Interfaces:
Serializable, org.jboss.cache.optimistic.DataVersion

public class NonLockingDataVersion
extends Object
implements org.jboss.cache.optimistic.DataVersion

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.

Version:
$Revision: 1 $
Author:
Brian Stansberry
See Also:
Serialized Form

Field Summary
static org.jboss.cache.optimistic.DataVersion INSTANCE
           
 
Constructor Summary
NonLockingDataVersion()
           
 
Method Summary
static org.jboss.cache.config.Option getInvocationOption()
           
 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

NonLockingDataVersion

public NonLockingDataVersion()
Method Detail

getInvocationOption

public static org.jboss.cache.config.Option getInvocationOption()

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