|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheFactory
Interface for a cache factory that returns a cache that externally acts like a map. Underlying caches don't have to be a map, but they must be wrapped in the map interface if they do not.
| Field Summary | |
|---|---|
static String |
CONTENT_CACHE
The cache to be used to hold content. |
static String |
DEFAULT
Generic default cache that can be used for anything |
static String |
ENTITY_PARENTS_CACHE
|
static String |
NAME_CACHE
The cache to be used to hold names. |
static String |
PRINCIPAL_CACHE
The cache to be used to hold principals. |
| Method Summary | ||
|---|---|---|
|
getCache()
Method to retrieve a default cache without a name. |
|
|
getCache(String cacheName)
Method to retrieve a cache by name. |
|
| Field Detail |
|---|
static final String PRINCIPAL_CACHE
static final String ENTITY_PARENTS_CACHE
static final String NAME_CACHE
static final String CONTENT_CACHE
static final String DEFAULT
| Method Detail |
|---|
<K extends Serializable,V> Map<K,V> getCache(String cacheName)
throws IllegalArgumentException
cacheName - the name of the cache to retrieve.
IllegalArgumentException - if a cache by that name cannot be retrieved.<K extends Serializable,V> Map<K,V> getCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||