Uses of Class
org.apache.commons.jcs3.access.exception.CacheException
Packages that use CacheException
Package
Description
Contains the class JCS which provides a simple interface for clients to use JCS.
Contains classes for accessing the cache.
The primary cache classes and the hub.
-
Uses of CacheException in org.apache.commons.jcs3
Methods in org.apache.commons.jcs3 that throw CacheExceptionModifier and TypeMethodDescriptionstatic <K,V> GroupCacheAccess<K, V> JCS.getGroupCacheInstance(String region) Get a GroupCacheAccess which accesses the provided region.static <K,V> GroupCacheAccess<K, V> JCS.getGroupCacheInstance(String region, ICompositeCacheAttributes icca) Get a GroupCacheAccess which accesses the provided region.static <K,V> GroupCacheAccess<K, V> JCS.getGroupCacheInstance(String region, ICompositeCacheAttributes icca, IElementAttributes eattr) Get a GroupCacheAccess which accesses the provided region.static <K,V> CacheAccess<K, V> JCS.getInstance(String region) Get a CacheAccess which accesses the provided region.static <K,V> CacheAccess<K, V> JCS.getInstance(String region, ICompositeCacheAttributes icca) Get a CacheAccess which accesses the provided region.static <K,V> CacheAccess<K, V> JCS.getInstance(String region, ICompositeCacheAttributes icca, IElementAttributes eattr) Get a CacheAccess which accesses the provided region. -
Uses of CacheException in org.apache.commons.jcs3.access
Methods in org.apache.commons.jcs3.access that throw CacheExceptionModifier and TypeMethodDescriptionvoidAbstractCacheAccess.clear()Removes all of the elements from a region.intAbstractCacheAccess.freeMemoryElements(int numberToFree) This instructs the memory cache to remove the numberToFree according to its eviction policy.AbstractCacheAccess.getDefaultElementAttributes()Retrieves A COPY OF the default element attributes used by this region.CacheAccess.getElementAttributes(K name) GetElementAttributes will return an attribute object describing the current attributes associated with the object name.voidGroupCacheAccess.putInGroup(K name, String groupName, V value) Allows the user to put an object into a group within a particular cache region.voidGroupCacheAccess.putInGroup(K name, String groupName, V value, IElementAttributes attr) Allows the user to put an object into a group within a particular cache region.voidAbstractCacheAccess.setDefaultElementAttributes(IElementAttributes attr) This method is does not reset the attributes for items already in the cache. -
Uses of CacheException in org.apache.commons.jcs3.access.behavior
Methods in org.apache.commons.jcs3.access.behavior that throw CacheExceptionModifier and TypeMethodDescriptionvoidICacheAccessManagement.clear()Removes all of the elements from a region.intICacheAccessManagement.freeMemoryElements(int numberToFree) This instructs the memory cache to remove the numberToFree according to its eviction policy.ICacheAccessManagement.getDefaultElementAttributes()GetElementAttributes will return an attribute object describing the current attributes associated with the object name.ICacheAccess.getElementAttributes(K name) Gets the elementAttributes attribute of the ICacheAccess objectvoidPuts and/or overrides an element with the name in that region.voidICacheAccess.put(K name, V obj, IElementAttributes attr) Description of the MethodvoidIGroupCacheAccess.putInGroup(K key, String group, V obj) Puts an item in the cache associated with this group.voidIGroupCacheAccess.putInGroup(K key, String group, V obj, IElementAttributes attr) Put in the cache associated with this group using these attributes.voidPuts in cache if an item does not exist with the name in that region.voidRemove an object for this key if one exists, else do nothing.voidICacheAccess.resetElementAttributes(K name, IElementAttributes attributes) Reset the attributes on the object matching this key name.voidICacheAccessManagement.setDefaultElementAttributes(IElementAttributes attr) This method is does not reset the attributes for items already in the cache. -
Uses of CacheException in org.apache.commons.jcs3.access.exception
Subclasses of CacheException in org.apache.commons.jcs3.access.exceptionModifier and TypeClassDescriptionclassThrown if there is some severe configuration problem that makes the cache nonfunctional.classInvalidArgumentException is thrown if an argument is passed to the cache that is invalid.classInvalidGroupExceptionclassInvalidHandleException is not used.classThe putSafe method on the JCS convenience class throws this exception if the object is already present in the cache.classObjectNotFoundException -
Uses of CacheException in org.apache.commons.jcs3.engine.control
Methods in org.apache.commons.jcs3.engine.control that throw CacheExceptionModifier and TypeMethodDescriptionvoidCompositeCacheManager.configure()Configure with default properties filevoidConfigure from specific properties file.CompositeCache.getElementAttributes(K key) Gets the elementAttributes attribute of the Cache object.static CompositeCacheManagerCompositeCacheManager.getInstance()Gets the CacheHub instance.static CompositeCacheManagerCompositeCacheManager.getInstance(String propsFilename) Initializes the cache manager using the props file for the given name.