|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CacheException | |
org.jboss.cache | |
org.jboss.cache.aop | |
org.jboss.cache.lock | |
org.jboss.cache.tests |
Uses of CacheException in org.jboss.cache |
Subclasses of CacheException in org.jboss.cache | |
class |
NodeNotExistsException
Thrown when an operation is attempted on a non-existing node in the cache |
Methods in org.jboss.cache that throw CacheException | |
Set |
TreeCacheMBean.getKeys(String fqn)
|
Set |
TreeCacheMBean.getKeys(Fqn fqn)
|
Object |
TreeCacheMBean.get(String fqn,
Object key)
Finds a node given its name and returns the value associated with a given key in its data map. |
Object |
TreeCacheMBean.get(Fqn fqn,
Object key)
Finds a node given its name and returns the value associated with a given key in its data map. |
void |
TreeCacheMBean.put(String fqn,
Map data)
Adds a new node to the tree and sets its data. |
void |
TreeCacheMBean.put(Fqn fqn,
Map data)
Adds a new node to the tree and sets its data. |
Object |
TreeCacheMBean.put(String fqn,
Object key,
Object value)
Adds a key and value to a given node. |
Object |
TreeCacheMBean.put(Fqn fqn,
Object key,
Object value)
Adds a key and value to a given node. |
void |
TreeCacheMBean.remove(String fqn)
Removes the node from the tree. |
void |
TreeCacheMBean.remove(Fqn fqn)
Removes the node from the tree. |
void |
TreeCacheMBean.evict(Fqn fqn)
Called by eviction policy provider. |
void |
TreeCacheMBean.evict(Fqn fqn,
Object key)
Evicts a key/value pair from a node's attributes. |
Object |
TreeCacheMBean.remove(String fqn,
Object key)
Removes key from the node's hashmap |
Object |
TreeCacheMBean.remove(Fqn fqn,
Object key)
Removes key from the node's hashmap |
void |
TreeCacheMBean.removeData(String fqn)
|
void |
TreeCacheMBean.removeData(Fqn fqn)
|
Set |
TreeCacheMBean.getChildrenNames(String fqn)
Returns all children of a given node |
Set |
TreeCacheMBean.getChildrenNames(Fqn fqn)
Returns all children of a given node |
void |
TreeCacheMBean._put(GlobalTransaction tx,
String fqn,
Map data,
boolean create_undo_ops)
Does the real work. |
void |
TreeCacheMBean._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops)
Does the real work. |
void |
TreeCacheMBean._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops,
boolean erase_contents)
Does the real work. |
Object |
TreeCacheMBean._put(GlobalTransaction tx,
String fqn,
Object key,
Object value,
boolean create_undo_ops)
|
Object |
TreeCacheMBean._put(GlobalTransaction tx,
Fqn fqn,
Object key,
Object value,
boolean create_undo_ops)
|
void |
TreeCacheMBean._remove(GlobalTransaction tx,
String fqn,
boolean create_undo_ops)
|
void |
TreeCacheMBean._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops)
|
Object |
TreeCacheMBean._remove(GlobalTransaction tx,
String fqn,
Object key,
boolean create_undo_ops)
|
Object |
TreeCacheMBean._remove(GlobalTransaction tx,
Fqn fqn,
Object key,
boolean create_undo_ops)
|
Node |
TreeCache.get(String fqn)
|
Node |
TreeCache.get(Fqn fqn)
|
Node |
TreeCache._get(Fqn fqn)
|
Set |
TreeCache.getKeys(String fqn)
|
Set |
TreeCache.getKeys(Fqn fqn)
|
Set |
TreeCache._getKeys(Fqn fqn)
|
Object |
TreeCache.get(String fqn,
Object key)
Finds a node given its name and returns the value associated with a given key in its data
map. |
Object |
TreeCache.get(Fqn fqn,
Object key)
Finds a node given its name and returns the value associated with a given key in its data
map. |
Object |
TreeCache._get(Fqn fqn,
Object key,
boolean sendNodeEvent)
|
protected Object |
TreeCache.get(Fqn fqn,
Object key,
boolean sendNodeEvent)
|
Object |
TreeCache.peek(Fqn fqn,
Object key)
Like get() method but without triggering a node visit event. |
void |
TreeCache.put(String fqn,
Map data)
Adds a new node to the tree and sets its data. |
void |
TreeCache.put(Fqn fqn,
Map data)
Adds a new node to the tree and sets its data. |
Object |
TreeCache.put(String fqn,
Object key,
Object value)
Adds a key and value to a given node. |
Object |
TreeCache.put(Fqn fqn,
Object key,
Object value)
Adds a key and value to a given node. |
void |
TreeCache.remove(String fqn)
Removes the node from the tree. |
void |
TreeCache.remove(Fqn fqn)
Removes the node from the tree. |
void |
TreeCache.evict(Fqn fqn)
Called by eviction policy provider. |
void |
TreeCache.evict(Fqn fqn,
Object key)
Evicts a key/value pair from a node's attributes. |
Object |
TreeCache.remove(String fqn,
Object key)
Removes key from the node's hashmap |
Object |
TreeCache.remove(Fqn fqn,
Object key)
Removes key from the node's hashmap |
void |
TreeCache.removeData(String fqn)
|
void |
TreeCache.removeData(Fqn fqn)
|
void |
TreeCache.lock(Fqn fqn,
Object owner,
int lock_type,
boolean lock_recursive)
Lock a given node (or the entire subtree starting at this node) |
Set |
TreeCache.getChildrenNames(String fqn)
Returns all children of a given node |
Set |
TreeCache.getChildrenNames(Fqn fqn)
Returns all children of a given node |
Set |
TreeCache._getChildrenNames(Fqn fqn)
|
void |
TreeCache._put(GlobalTransaction tx,
String fqn,
Map data,
boolean create_undo_ops)
Does the real work. |
void |
TreeCache._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops)
Does the real work. |
void |
TreeCache._put(GlobalTransaction tx,
Fqn fqn,
Map data,
boolean create_undo_ops,
boolean erase_contents)
Does the real work. |
Object |
TreeCache._put(GlobalTransaction tx,
String fqn,
Object key,
Object value,
boolean create_undo_ops)
|
Object |
TreeCache._put(GlobalTransaction tx,
Fqn fqn,
Object key,
Object value,
boolean create_undo_ops)
|
void |
TreeCache._remove(GlobalTransaction tx,
String fqn,
boolean create_undo_ops)
|
void |
TreeCache._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops)
|
void |
TreeCache._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent)
|
void |
TreeCache._remove(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent,
boolean eviction)
Remove a node |
Object |
TreeCache._remove(GlobalTransaction tx,
String fqn,
Object key,
boolean create_undo_ops)
|
Object |
TreeCache._remove(GlobalTransaction tx,
Fqn fqn,
Object key,
boolean create_undo_ops)
|
Object |
TreeCache._remove(GlobalTransaction tx,
Fqn fqn,
Object key,
boolean create_undo_ops,
boolean sendNodeEvent)
|
void |
TreeCache._removeData(GlobalTransaction tx,
String fqn,
boolean create_undo_ops)
|
void |
TreeCache._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops)
|
void |
TreeCache._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent)
|
void |
TreeCache._removeData(GlobalTransaction tx,
Fqn fqn,
boolean create_undo_ops,
boolean sendNodeEvent,
boolean eviction)
|
void |
TreeCache._evict(Fqn fqn)
Called by eviction policy provider. |
void |
TreeCache._evict(Fqn fqn,
Object key)
Evicts a key/value pair from a node's attributes. |
void |
TreeCache._addChild(GlobalTransaction tx,
Fqn parent_fqn,
Object child_name,
Node old_node)
Compensating method to TreeCache._remove(GlobalTransaction,Fqn,boolean) . |
protected Object |
TreeCache.invokeMethod(org.jgroups.blocks.MethodCall m)
Invokes a method against this object. |
Uses of CacheException in org.jboss.cache.aop |
Methods in org.jboss.cache.aop that throw CacheException | |
Object |
TreeCacheAopMBean.putObject(String fqn,
Object obj)
Insert an aop-enabled object into the cache. |
Object |
TreeCacheAopMBean.putObject(Fqn fqn,
Object obj)
Insert an aop-enabled object into the cache. |
Object |
TreeCacheAopMBean.getObject(String fqn)
Retrieve the aop-enabled object from the cache. |
Object |
TreeCacheAopMBean.getObject(Fqn fqn)
Retrieve the aop-enabled object from the cache. |
Object |
TreeCacheAopMBean.removeObject(String fqn)
Remove aop-enabled object from the cache. |
Object |
TreeCacheAopMBean.removeObject(Fqn fqn)
Remove aop-enabled object from the cache. |
Object |
TreeCacheAopMBean._put(GlobalTransaction tx,
Fqn fqn,
Object key,
Object value,
boolean create_undo_ops)
|
void |
TreeCacheAopMBean.evict(Fqn fqn)
Override to provide aop specific eviction. |
Object |
TreeCacheAop.putObject(String fqn,
Object obj)
Insert an aop-enabled object into the cache. |
Object |
TreeCacheAop.putObject(Fqn fqn,
Object obj)
Insert an aop-enabled object into the cache. |
Object |
TreeCacheAop._putObject(Fqn fqn,
Object obj)
|
protected Fqn |
TreeCacheAop.handleObjectGraph(Fqn fqn,
org.jboss.aop.InstanceAdvisor advisor,
CachedType type,
Object obj)
Handle cases where there is circular, e.g., parent refers to child and child to parent, or multiple references, e.g., two objects reference the same sub-object. |
Object |
TreeCacheAop.getObject(String fqn)
Retrieve the aop-enabled object from the cache. |
Object |
TreeCacheAop.getObject(Fqn fqn)
Retrieve the aop-enabled object from the cache. |
Object |
TreeCacheAop.removeObject(String fqn)
Remove aop-enabled object from the cache. |
Object |
TreeCacheAop.removeObject(Fqn fqn)
Remove aop-enabled object from the cache. |
protected Object |
TreeCacheAop._removeObject(Fqn fqn,
boolean removeCacheInterceptor)
|
Object |
TreeCacheAop._put(GlobalTransaction tx,
Fqn fqn,
Object key,
Object value,
boolean create_undo_ops)
Override the base class to provide some aop specific behaviors. |
void |
TreeCacheAop.evict(Fqn fqn)
Override to provide aop specific eviction. |
Uses of CacheException in org.jboss.cache.lock |
Subclasses of CacheException in org.jboss.cache.lock | |
class |
DeadlockException
Used when a lock acquisition would cause a deadlock. |
class |
LockingException
Used for all locking-related exceptions, e.g. |
class |
TimeoutException
Thrown when a timeout occurred. |
class |
UpgradeException
Used when a read-lock cannot be upgraded to a write-lock |
Uses of CacheException in org.jboss.cache.tests |
Methods in org.jboss.cache.tests that throw CacheException | |
void |
CacheLoaderTests.testPrint()
|
void |
CacheLoaderTests.testPut()
|
void |
CacheLoaderTests.testSerialization()
|
void |
CacheLoaderTests.testPreloading()
|
void |
CacheLoaderTests.testCacheLoading2()
|
void |
CacheLoaderTests.testRemoveKey2()
|
void |
CacheLoaderTests.testRemoveKey3()
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |