Uses of Class
javax.cache.CacheException

Packages that use CacheException
javax.cache This package contains the API for JCache.. 
javax.cache.transaction This package contains the API for JCache.. 
 

Uses of CacheException in javax.cache
 

Subclasses of CacheException in javax.cache
 class InvalidConfigurationException
          An exception to report invalid configuration settings.
 

Methods in javax.cache that throw CacheException
 boolean Cache.containsKey(Object key)
          Returns true if this cache contains a mapping for the specified key.
 void CacheWriter.delete(Object key)
          Delete the cache entry from the store
 void CacheWriter.deleteAll(Collection<?> entries)
          Remove data and keys from the underlying store for the given collection of keys, if present.
 V Cache.get(Object key)
          Gets an entry from the cache.
 Map<K,V> Cache.getAll(Collection<? extends K> keys)
          The getAll method will return, from the cache, a Map of the objects associated with the Collection of keys in argument "keys".
 V Cache.getAndPut(K key, V value)
          Atomically associates the specified value with the specified key in this cache

If the cache previously contained a mapping for the key, the old value is replaced by the specified value.

 V Cache.getAndRemove(Object key)
          Atomically removes the entry for a key only if currently mapped to a given value.
 V Cache.getAndReplace(K key, V value)
          Atomically replaces the entry for a key only if currently mapped to some value.
 Future<V> Cache.load(K key)
          The load method provides a means to "pre load" the cache.
 Future<Map<K,V>> Cache.loadAll(Collection<? extends K> keys)
          The loadAll method provides a means to "pre load" objects into the cache.
 void Cache.put(K key, V value)
          Associates the specified value with the specified key in this cache If the cache previously contained a mapping for the key, the old value is replaced by the specified value.
 void Cache.putAll(Map<? extends K,? extends V> map)
          Copies all of the mappings from the specified map to this cache.
 boolean Cache.putIfAbsent(K key, V value)
          Atomically associates the specified key with the given value if it is not already associated with a value.
 boolean Cache.remove(Object key)
          Removes the mapping for a key from this cache if it is present.
 boolean Cache.remove(Object key, V oldValue)
          Atomically removes the mapping for a key only if currently mapped to the given value.
 void Cache.removeAll()
          Removes all of the mappings from this cache.
 void Cache.removeAll(Collection<? extends K> keys)
          Removes entries for the specified keys

 boolean Cache.replace(K key, V value)
          Atomically replaces the entry for a key only if currently mapped to some value.
 boolean Cache.replace(K key, V oldValue, V newValue)
          Atomically replaces the entry for a key only if currently mapped to a given value.
 void CacheLifecycle.start()
          Notifies providers to start themselves.
 void CacheLifecycle.stop()
          Providers may be doing all sorts of exotic things and need to be able to clean up on stop.
 void CacheWriter.write(Cache.Entry<K,V> entry)
          Write the specified value under the specified key to the underlying store.
 void CacheWriter.writeAll(Collection<Cache.Entry<? extends K,? extends V>> entries)
          Write the specified entries to the underlying store.
 

Uses of CacheException in javax.cache.transaction
 

Subclasses of CacheException in javax.cache.transaction
 class TransactionException
          A transaction exception.
 



Copyright © 2011. All Rights Reserved.