org.hibernate.cache.jbc.util
Class CircumventChecksDataVersion

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

public class 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...).

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

Field Summary
static org.jboss.cache.optimistic.DataVersion INSTANCE
           
 
Constructor Summary
CircumventChecksDataVersion()
           
 
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

CircumventChecksDataVersion

public CircumventChecksDataVersion()
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 © 2001-2010 Red Hat, Inc. All Rights Reserved.