A C D G K M O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCacheManager - Class in org.apache.shiro.cache
-
Very simple abstract
CacheManager
implementation that retains all createdCache
instances in an in-memoryConcurrentMap
. - AbstractCacheManager() - Constructor for class org.apache.shiro.cache.AbstractCacheManager
-
Default no-arg constructor that instantiates an internal name-to-cache
ConcurrentMap
.
C
- Cache<K,V> - Interface in org.apache.shiro.cache
-
A Cache efficiently stores temporary objects primarily to improve an application's performance.
- CacheException - Exception in org.apache.shiro.cache
-
Root class of all Shiro exceptions related to caching operations.
- CacheException() - Constructor for exception org.apache.shiro.cache.CacheException
-
Creates a new
CacheException
. - CacheException(String) - Constructor for exception org.apache.shiro.cache.CacheException
-
Creates a new
CacheException
. - CacheException(String, Throwable) - Constructor for exception org.apache.shiro.cache.CacheException
-
Creates a new
CacheException
. - CacheException(Throwable) - Constructor for exception org.apache.shiro.cache.CacheException
-
Creates a new
CacheException
. - CacheManager - Interface in org.apache.shiro.cache
-
A CacheManager provides and maintains the lifecycles of
Cache
instances. - CacheManagerAware - Interface in org.apache.shiro.cache
-
Interface implemented by components that utilize a CacheManager and wish that CacheManager to be supplied if one is available.
- clear() - Method in interface org.apache.shiro.cache.Cache
-
Clear all entries from the cache.
- clear() - Method in class org.apache.shiro.cache.MapCache
- createCache(String) - Method in class org.apache.shiro.cache.AbstractCacheManager
-
Creates a new
Cache
instance associated with the specifiedname
. - createCache(String) - Method in class org.apache.shiro.cache.MemoryConstrainedCacheManager
-
Returns a new
MapCache
instance backed by aSoftHashMap
.
D
- destroy() - Method in class org.apache.shiro.cache.AbstractCacheManager
-
Cleanup method that first
destroys
all of it's managed caches and thenclears
out the internally referenced cache map.
G
- get(K) - Method in interface org.apache.shiro.cache.Cache
-
Returns the Cached value stored under the specified
key
ornull
if there is no Cache entry for thatkey
. - get(K) - Method in class org.apache.shiro.cache.MapCache
- getCache(String) - Method in class org.apache.shiro.cache.AbstractCacheManager
-
Returns the cache with the specified
name
. - getCache(String) - Method in interface org.apache.shiro.cache.CacheManager
-
Acquires the cache with the specified
name
.
K
- keys() - Method in interface org.apache.shiro.cache.Cache
-
Returns a view of all the keys for entries contained in this cache.
- keys() - Method in class org.apache.shiro.cache.MapCache
M
- MapCache<K,V> - Class in org.apache.shiro.cache
- MapCache(String, Map<K, V>) - Constructor for class org.apache.shiro.cache.MapCache
- MemoryConstrainedCacheManager - Class in org.apache.shiro.cache
-
Simple memory-only based
CacheManager
implementation usable in production environments. - MemoryConstrainedCacheManager() - Constructor for class org.apache.shiro.cache.MemoryConstrainedCacheManager
O
- org.apache.shiro.cache - package org.apache.shiro.cache
-
Caching support used to enhance performance for security operations.
P
- put(K, V) - Method in interface org.apache.shiro.cache.Cache
-
Adds a Cache entry.
- put(K, V) - Method in class org.apache.shiro.cache.MapCache
R
- remove(K) - Method in interface org.apache.shiro.cache.Cache
-
Remove the cache entry corresponding to the specified key.
- remove(K) - Method in class org.apache.shiro.cache.MapCache
S
- setCacheManager(CacheManager) - Method in interface org.apache.shiro.cache.CacheManagerAware
-
Sets the available CacheManager instance on this component.
- size() - Method in interface org.apache.shiro.cache.Cache
-
Returns the number of entries in the cache.
- size() - Method in class org.apache.shiro.cache.MapCache
T
- toString() - Method in class org.apache.shiro.cache.AbstractCacheManager
- toString() - Method in class org.apache.shiro.cache.MapCache
V
- values() - Method in interface org.apache.shiro.cache.Cache
-
Returns a view of all of the values contained in this cache.
- values() - Method in class org.apache.shiro.cache.MapCache
All Classes All Packages