Uses of Class
org.jboss.cache.CacheException

Packages that use CacheException
org.jboss.cache   
org.jboss.cache.buddyreplication   
org.jboss.cache.config   
org.jboss.cache.interceptors   
org.jboss.cache.jmx   
org.jboss.cache.loader   
org.jboss.cache.lock   
org.jboss.cache.marshall   
org.jboss.cache.notifications   
org.jboss.cache.optimistic   
org.jboss.cache.pojo.impl   
org.jboss.cache.pojo.util   
 

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
 class RegionNotEmptyException
          Thrown when an attempt is made to RegionManager.activate(Fqn) activate a subtree} root in Fqn that already has an existing node in the cache.
 class ReplicationException
          Thrown when a replication problem occurred
 class SuspectException
          Thrown when a member is suspected during remote method invocation
 

Methods in org.jboss.cache that throw CacheException
 void CacheImpl._addChild(GlobalTransaction gtx, Fqn parent_fqn, java.lang.Object child_name, Node cn, boolean undoOps)
          Compensating method to CacheImpl._remove(GlobalTransaction,Fqn,boolean).
 boolean CacheImpl._evict(Fqn fqn)
          Internal evict method called by eviction policy provider.
 boolean CacheImpl._evict(Fqn fqn, DataVersion version)
          Internal evict method called by eviction policy provider.
protected  void CacheImpl._evictSubtree(Fqn subtree)
          Evicts the node at subtree along with all descendant nodes.
 Node<K,V> CacheImpl._get(Fqn<?> fqn)
          Returns the raw data of the node; called externally internally.
 V CacheImpl._get(Fqn<?> fqn, K key, boolean sendNodeEvent)
           
<E> java.util.Set<E>
CacheImpl._getChildrenNames(Fqn<E> fqn)
           
 java.util.Set CacheImpl._getKeys(Fqn<?> fqn)
           
 java.lang.Object CacheImpl._put(GlobalTransaction tx, Fqn fqn, K key, V value, boolean create_undo_ops)
          Internal put method.
 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)
          Internal put method.
 void CacheImpl._put(GlobalTransaction tx, Fqn fqn, java.util.Map<K,V> data, boolean create_undo_ops, boolean erase_contents)
          Internal put method.
 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)
           
 java.lang.Object CacheImpl._put(GlobalTransaction tx, java.lang.String fqn, K key, V value, boolean create_undo_ops)
          Internal put method.
 void CacheImpl._put(GlobalTransaction tx, java.lang.String fqn, java.util.Map<K,V> data, boolean create_undo_ops)
          Internal put method.
 void CacheImpl._putForExternalRead(GlobalTransaction gtx, Fqn fqn, K key, V value, DataVersion dv)
           
 boolean CacheImpl._remove(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops)
          Internal remove method.
 boolean CacheImpl._remove(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, boolean sendNodeEvent)
           
 boolean CacheImpl._remove(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, boolean sendNodeEvent, boolean eviction)
          Internal method to remove a node.
 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)
           
 V CacheImpl._remove(GlobalTransaction tx, Fqn fqn, K key, boolean create_undo_ops)
          Internal method to remove a key.
 java.lang.Object CacheImpl._remove(GlobalTransaction tx, Fqn fqn, K key, boolean create_undo_ops, DataVersion dv)
           
 void CacheImpl._remove(GlobalTransaction tx, java.lang.String fqn, boolean create_undo_ops)
          Internal remove method.
 V CacheImpl._remove(GlobalTransaction tx, java.lang.String fqn, K key, boolean create_undo_ops)
          Internal method to remove a key.
 void CacheImpl._removeData(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops)
          Internal method to remove data from a node.
 void CacheImpl._removeData(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, boolean sendNodeEvent)
          Internal method to remove data from a node.
 void CacheImpl._removeData(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, boolean sendNodeEvent, boolean eviction)
          Internal method to remove data from a node.
 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._removeData(GlobalTransaction tx, java.lang.String fqn, boolean create_undo_ops)
          Internal method to remove data from a node.
 void Cache.create()
          Lifecycle method that initializes configuration state, the root node, etc.
 void CacheImpl.create()
          Lifecycle method.
protected  Node CacheImpl.createSubtreeRootNode(Fqn<?> subtree)
          Creates a subtree in the local cache.
 void CacheImpl.evict(Fqn fqn)
          Called by eviction policy provider.
 Node<K,V> CacheImpl.get(Fqn<?> fqn)
          Returns a DataNode corresponding to the fully qualified name or null if does not exist.
 V CacheImpl.get(Fqn<?> fqn, K key)
          Finds a node given its name and returns the value associated with a given key in its data map.
protected  V CacheImpl.get(Fqn<?> fqn, K key, boolean sendNodeEvent)
           
 Node CacheImpl.get(java.lang.String fqn)
           
 V CacheImpl.get(java.lang.String fqn, K key)
          Finds a node given its name and returns the value associated with a given key in its data map.
<E> java.util.Set<E>
CacheImpl.getChildrenNames(Fqn<E> fqn)
          Returns all children of a given node.
 java.util.Set CacheImpl.getChildrenNames(java.lang.String fqn)
          Returns all children of a given node.
 java.util.Map<K,V> CacheImpl.getData(Fqn<?> fqn)
          Retrieves a defensively copied data map of the underlying node.
 java.util.Set<K> CacheImpl.getKeys(Fqn<?> fqn)
          Returns a set of attribute keys for the Fqn.
 java.util.Set CacheImpl.getKeys(java.lang.String fqn)
          Returns a set of attribute keys for the Fqn.
 GravitateResult CacheImpl.gravitateData(Fqn fqn, boolean searchSubtrees)
          Used with buddy replication's data gravitation interceptor.
protected  java.lang.Object CacheImpl.invokeMethod(MethodCall m, boolean originLocal)
          Invokes a method against this object.
 V CacheImpl.put(Fqn<?> fqn, K key, V value)
          Adds a key and value to a given node.
 void CacheImpl.put(Fqn<?> fqn, java.util.Map<K,V> data)
          Sets a node's data.
 void CacheImpl.put(Fqn<?> fqn, java.util.Map<K,V> data, boolean erase)
           
 V CacheImpl.put(java.lang.String fqn, K key, V value)
          Adds a key and value to a given node.
 void CacheImpl.put(java.lang.String fqn, java.util.Map data)
          Adds a new node to the cache and sets its data.
 boolean CacheImpl.remove(Fqn fqn)
          Removes the node from the cache.
 V CacheImpl.remove(Fqn<?> fqn, K key)
          Removes key from the node's hashmap
 void CacheImpl.remove(java.lang.String fqn)
          Removes the node from the cache.
 V CacheImpl.remove(java.lang.String fqn, K key)
          Removes key from the node's hashmap
 void CacheImpl.removeData(Fqn fqn)
          Removes the keys and properties from a named node.
 void CacheImpl.removeData(java.lang.String fqn)
          Removes the keys and properties from a node.
 void Cache.start()
          Lifecycle method that starts the cache loader, starts cache replication, starts the region manager, etc., and (if configured) warms the cache using a state transfer or cache loader preload.
 void CacheImpl.start()
          Lifecyle method.
 

Uses of CacheException in org.jboss.cache.buddyreplication
 

Subclasses of CacheException in org.jboss.cache.buddyreplication
 class BuddyNotInitException
          Exception to depict that a buddy has not been initialised to participate in any comms
 

Methods in org.jboss.cache.buddyreplication that throw CacheException
 void BuddyManager.init(CacheImpl cache)
           
 

Uses of CacheException in org.jboss.cache.config
 

Subclasses of CacheException in org.jboss.cache.config
 class ConfigurationException
          An exception that represents an error in the configuration.
 

Uses of CacheException in org.jboss.cache.interceptors
 

Methods in org.jboss.cache.interceptors that throw CacheException
protected  GlobalTransaction OptimisticInterceptor.getGlobalTransaction(InvocationContext ctx)
           
protected  TransactionWorkspace OptimisticInterceptor.getTransactionWorkspace(GlobalTransaction gtx)
           
protected  TransactionWorkspace OptimisticReplicationInterceptor.getTransactionWorkspace(GlobalTransaction gtx)
           
 

Uses of CacheException in org.jboss.cache.jmx
 

Methods in org.jboss.cache.jmx that throw CacheException
 void CacheJmxWrapper.create()
           
 void CacheJmxWrapperMBean.create()
           
protected  boolean CacheJmxWrapper.registerInterceptors()
           
 void CacheJmxWrapper.start()
           
 void CacheJmxWrapperMBean.start()
           
 

Uses of CacheException in org.jboss.cache.loader
 

Methods in org.jboss.cache.loader that throw CacheException
 void CacheLoaderManager.preload(Fqn fqn, boolean preloadParents, boolean preloadChildren)
          Preloads a specific Fqn into the cache from the configured cacheloader
 void CacheLoaderManager.preloadCache()
          Performs a preload on the cache based on the cache loader preload configs used when configuring the cache.
 void CacheLoaderManager.setConfig(CacheLoaderConfig config, CacheSPI cache)
          Sets a configuration object and creates a cacheloader accordingly.
 void CacheLoaderManager.startCacheLoader()
           
 

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.marshall
 

Subclasses of CacheException in org.jboss.cache.marshall
 class InactiveRegionException
          Thrown by a AbstractMarshaller instance when attempting to perform an operation on an inactive region.
 

Uses of CacheException in org.jboss.cache.notifications
 

Subclasses of CacheException in org.jboss.cache.notifications
 class IncorrectCacheListenerException
          Thrown when an incorrectly annotated class is added as a cache listener using the Cache.addCacheListener(Object) API.
 

Uses of CacheException in org.jboss.cache.optimistic
 

Subclasses of CacheException in org.jboss.cache.optimistic
 class DataVersioningException
          Denotes exceptions to do with data versioning in optimistic locking
 

Uses of CacheException in org.jboss.cache.pojo.impl
 

Methods in org.jboss.cache.pojo.impl that throw CacheException
 java.lang.Object PojoCacheImpl._evictObject(Fqn fqn)
          Used by internal implementation.
 java.util.Map PojoCacheDelegate.findObjects(Fqn fqn)
           
 java.lang.Object PojoCacheImpl.getObject(Fqn id)
           
 java.lang.Object PojoCacheDelegate.getObject(Fqn fqn, java.lang.String field)
           
 java.lang.Object PojoCacheImpl.getObject(Fqn id, java.lang.String field)
           
 java.lang.Object PojoCacheImpl.putObject(Fqn id, java.lang.Object pojo, java.lang.String field)
          This public API is called from internal package only.
 java.lang.Object PojoCacheDelegate.putObjectI(Fqn fqn, java.lang.Object obj, java.lang.String field)
           
 java.lang.Object PojoCacheDelegate.putObjectII(Fqn fqn, java.lang.Object obj, java.lang.String field)
          Note that caller of this method will take care of synchronization within the fqn sub-tree.
 java.lang.Object PojoCacheDelegate.removeObject(Fqn fqn, java.lang.String field)
          Note that caller of this method will take care of synchronization within the fqn sub-tree.
 java.lang.Object PojoCacheImpl.removeObject(Fqn id, java.lang.String field)
           
 

Uses of CacheException in org.jboss.cache.pojo.util
 

Methods in org.jboss.cache.pojo.util that throw CacheException
static boolean ObjectUtil.isReachable(PojoCacheImpl cache, java.lang.Object originalObject, java.lang.Object thisObject)
          Static methos to check if thisObject is reachable from originalObject.