|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides a service to create caches.
| Field Summary | |
static String |
CACHE_SERVICE
|
| Method Summary | |
ICache |
getCache(String cacheID)
Get a preconfigured cache (with properties taken from configuration). |
ICache |
getCache(String cacheID,
Properties properties)
Get a cache for the given ID (and given properties, if cache does not already exist): If no cache exists for the given ID, it will be created with the given properties. |
IClusterCacheArea |
getCacheArea(String ID)
Get an instance of an IClusterCacheArea for the given
area ID. |
String |
getUniqueCacheID()
Get a new, unique cache ID that can be used in a call to getCache(cacheID,properties). |
| Methods inherited from interface com.sapportals.wcm.service.IService |
getDescription, getDescription, getID |
| Field Detail |
public static final String CACHE_SERVICE
| Method Detail |
public String getUniqueCacheID()
getCache(cacheID,properties).
String with a new, internal, unique cache ID.
public ICache getCache(String cacheID,
Properties properties)
throws ClassNotFoundException,
CacheException
cacheID - a String with the id of the cache to get.properties - the Properties to use when a new cache for
a non-exisiting ID is to be created.
ICache for the given ID (and the given properties,
if the cache didn't already exist).
ClassNotFoundException
CacheException
public ICache getCache(String cacheID)
throws ClassNotFoundException,
CacheException
cacheID - a String with the id of a preconfigured cache.
ICache for the given ID.
ClassNotFoundException
CacheException
public IClusterCacheArea getCacheArea(String ID)
throws WcmException
IClusterCacheArea for the given
area ID.
ID - a String with the area ID of the clustered cache
area.
WcmException - if the cache area couldn't be created.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||