|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataVersion | |
---|---|
org.jboss.cache | |
org.jboss.cache.config | |
org.jboss.cache.factories | |
org.jboss.cache.optimistic |
Uses of DataVersion in org.jboss.cache |
---|
Methods in org.jboss.cache that return DataVersion | |
---|---|
DataVersion |
OptimisticTreeNode.getVersion()
Returns the version id of this node. |
Methods in org.jboss.cache with parameters of type DataVersion | |
---|---|
void |
TreeCache._evict(Fqn fqn,
DataVersion version)
Internal evict method called by eviction policy provider. |
void |
TreeCache._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent,
boolean eviction,
DataVersion version)
Internal method to remove a node. |
void |
TreeCache._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent,
boolean eviction,
DataVersion version)
Internal method to remove data from a node. |
void |
OptimisticTreeNode.setVersion(DataVersion version)
Sets the version id of this node. |
Constructors in org.jboss.cache with parameters of type DataVersion | |
---|---|
OptimisticTreeNode(java.lang.Object childName,
Fqn fqn,
Node parent,
java.util.Map data,
boolean mapSafe,
TreeCache cache,
DataVersion version)
|
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.factories |
---|
Methods in org.jboss.cache.factories with parameters of type DataVersion | |
---|---|
DataNode |
NodeFactory.createDataNode(byte nodeType,
java.lang.Object childName,
Fqn fqn,
DataNode parent,
java.util.Map data,
boolean mapSafe,
TreeCache cache,
DataVersion version)
Creates a new DataNode instance. |
DataNode |
NodeFactory.createDataNode(byte nodeType,
java.lang.Object childName,
Fqn fqn,
DataNode parent,
java.util.Map data,
TreeCache cache,
DataVersion version)
Returns a new data node. |
TreeNode |
NodeFactory.createNodeOfType(TreeNode template,
java.lang.Object childName,
Fqn fqn,
TreeNode parent,
java.util.Map data,
TreeCache cache,
DataVersion version)
same as above, passing in an explicit version |
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 |
WorkspaceNodeImpl.getVersion()
|
DataVersion |
WorkspaceNode.getVersion()
|
DataVersion |
DefaultDataVersion.increment()
Returns a new DataVersion with a newer version number. |
Methods in org.jboss.cache.optimistic with parameters of type DataVersion | |
---|---|
TreeNode |
WorkspaceNodeImpl.createChild(java.lang.Object child_name,
Fqn fqn,
TreeNode parent,
TreeCache cache,
DataVersion version)
|
TreeNode |
WorkspaceNode.createChild(java.lang.Object child_name,
Fqn fqn,
TreeNode parent,
TreeCache cache,
DataVersion version)
|
boolean |
DefaultDataVersion.newerThan(DataVersion other)
|
boolean |
DataVersion.newerThan(DataVersion other)
Returns true if this is a newer version than other . |
void |
WorkspaceNodeImpl.setVersion(DataVersion version)
|
void |
WorkspaceNode.setVersion(DataVersion version)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |