Uses of Interface
org.jboss.cache.optimistic.DataVersion

Packages that use DataVersion
org.jboss.cache   
org.jboss.cache.config   
org.jboss.cache.optimistic   
 

Uses of DataVersion in org.jboss.cache
 

Methods in org.jboss.cache that return DataVersion
 DataVersion NodeSPI.getVersion()
          Returns the data version of this node if versioning is supported.
 DataVersion UnversionedNode.getVersion()
           
 DataVersion VersionedNode.getVersion()
          Returns the version id of this node.
 

Methods in org.jboss.cache with parameters of type DataVersion
 boolean CacheImpl._evict(Fqn fqn, DataVersion version)
          Internal evict method called by eviction policy provider.
 java.lang.Object CacheImpl._put(GlobalTransaction tx, Fqn fqn, K key, V value, boolean create_undo_ops, DataVersion dv)
           
 void CacheImpl._put(GlobalTransaction tx, Fqn fqn, java.util.Map<K,V> data, boolean create_undo_ops, boolean erase_contents, DataVersion dv)
           
 void CacheImpl._put(GlobalTransaction tx, Fqn fqn, java.util.Map<K,V> data, boolean create_undo_ops, DataVersion dv)
           
 void CacheImpl._putForExternalRead(GlobalTransaction gtx, Fqn fqn, K key, V value, DataVersion dv)
           
 boolean CacheImpl._remove(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, boolean sendNodeEvent, boolean eviction, DataVersion version)
          Internal method to remove a node.
 boolean CacheImpl._remove(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, DataVersion dv)
           
 java.lang.Object CacheImpl._remove(GlobalTransaction tx, Fqn fqn, K key, boolean create_undo_ops, DataVersion dv)
           
 void CacheImpl._removeData(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, boolean sendNodeEvent, boolean eviction, DataVersion version)
          Internal method to remove data from a node.
 void CacheImpl._removeData(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, DataVersion dv)
           
 void NodeSPI.setVersion(DataVersion version)
          Sets the data version of this node if versioning is supported.
 void UnversionedNode.setVersion(DataVersion version)
           
 void VersionedNode.setVersion(DataVersion version)
          Sets the version id of this node.
 

Uses of DataVersion in org.jboss.cache.config
 

Methods in org.jboss.cache.config that return DataVersion
 DataVersion Option.getDataVersion()
           
 

Methods in org.jboss.cache.config with parameters of type DataVersion
 void Option.setDataVersion(DataVersion dataVersion)
          Passing in an DataVersion instance when using optimistic locking will override the default behaviour of internally generated version info and allow the caller to handle data versioning.
 

Uses of DataVersion in org.jboss.cache.optimistic
 

Classes in org.jboss.cache.optimistic that implement DataVersion
 class DefaultDataVersion
          The default implementation of a DataVersion, uses a long to compare versions.
 

Fields in org.jboss.cache.optimistic declared as DataVersion
static DataVersion DefaultDataVersion.ZERO
          Version zero.
 

Methods in org.jboss.cache.optimistic that return DataVersion
 DataVersion WorkspaceNode.getVersion()
          Retrieves the data version of the in-memory node.
 DataVersion WorkspaceNodeImpl.getVersion()
           
 DataVersion DefaultDataVersion.increment()
          Returns a new DataVersion with a newer version number.
 

Methods in org.jboss.cache.optimistic with parameters of type DataVersion
 NodeSPI WorkspaceNode.createChild(java.lang.Object child_name, NodeSPI<K,V> parent, CacheSPI<K,V> cache, DataVersion version)
          Creates a child node.
 NodeSPI<K,V> WorkspaceNodeImpl.createChild(java.lang.Object child_name, NodeSPI<K,V> parent, CacheSPI<K,V> cache, DataVersion version)
           
 boolean DataVersion.newerThan(DataVersion other)
          Returns true if this is a newer version than other.
 boolean DefaultDataVersion.newerThan(DataVersion other)
           
 void WorkspaceNode.setVersion(DataVersion version)
          Sets the data version of this workspace node.
 void WorkspaceNodeImpl.setVersion(DataVersion version)