|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataVersion | |
---|---|
org.jboss.cache | |
org.jboss.cache.config | |
org.jboss.cache.interceptors | |
org.jboss.cache.invocation | |
org.jboss.cache.optimistic |
Uses of DataVersion in org.jboss.cache |
---|
Methods in org.jboss.cache that return DataVersion | |
---|---|
DataVersion |
VersionedNode.getVersion()
Returns the version id of this node. |
DataVersion |
UnversionedNode.getVersion()
|
DataVersion |
NodeSPI.getVersion()
Returns the data version of this node if versioning is supported. |
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. |
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops,
boolean erase_contents,
DataVersion dv)
|
void |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops,
DataVersion dv)
|
Object |
CacheImpl._put(GlobalTransaction tx,
Fqn fqn,
Object key,
Object value,
boolean create_undo_ops,
DataVersion dv)
|
void |
CacheImpl._putForExternalRead(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value,
DataVersion dv)
|
boolean |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean skipSendingNodeEvents,
boolean eviction,
DataVersion version)
Internal method to remove a node. |
boolean |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
DataVersion dv)
|
Object |
CacheImpl._remove(GlobalTransaction tx,
Fqn fqn,
Object 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 |
CacheImpl.invalidate(Fqn fqn,
DataVersion versionToInvalidate)
Very much like an evict(), except that regardless of whether there is a child present, this call will never remove the node from memory - just remove its contents. |
void |
VersionedNode.setVersion(DataVersion version)
Sets the version id of this node. |
void |
UnversionedNode.setVersion(DataVersion version)
|
void |
NodeSPI.setVersion(DataVersion version)
Sets the data version of this node if versioning is supported. |
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.interceptors |
---|
Methods in org.jboss.cache.interceptors that return DataVersion | |
---|---|
protected DataVersion |
InvalidationInterceptor.getNodeVersion(TransactionWorkspace w,
Fqn f)
|
Uses of DataVersion in org.jboss.cache.invocation |
---|
Methods in org.jboss.cache.invocation that return DataVersion | |
---|---|
DataVersion |
NodeInvocationDelegate.getVersion()
|
Methods in org.jboss.cache.invocation with parameters of type DataVersion | |
---|---|
void |
NodeInvocationDelegate.setVersion(DataVersion 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 |
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(Object child_name,
NodeSPI<K,V> parent,
CacheSPI<K,V> cache,
DataVersion version)
Creates a child node. |
NodeSPI<K,V> |
WorkspaceNodeImpl.createChild(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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |