Modifier and Type | Field and Description |
---|---|
static String |
CACHE_SERVICE |
Modifier and Type | Method and Description |
---|---|
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) . |
getDescription, getDescription, getID
static final String CACHE_SERVICE
String getUniqueCacheID()
getCache(cacheID,properties)
.String
with a new, internal, unique cache ID.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
- ExceptionCacheException
- ExceptionICache getCache(String cacheID) throws ClassNotFoundException, CacheException
cacheID
- a String
with the id of a preconfigured cache.ICache
for the given ID.ClassNotFoundException
- ExceptionCacheException
- ExceptionIClusterCacheArea 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.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice