public interface ICacheManager extends IService
AbstractCacheHandler CacheAction,
ApplyActionException| Modifier and Type | Method and Description |
|---|---|
void |
applyAction(String cacheID,
CacheAction cacheAction,
boolean cluster)
Performs the specified cache action on the specified cache
|
String[] |
getAllCacheIDs()
Retrieves an array of all registered cache IDs
|
boolean |
isEnabled(String cacheID)
Indicates whether the specified cache is enabled
|
String[] |
setEnabled(boolean enable)
Enables or disables all registered caches
|
static final String KEY
String[] getAllCacheIDs()
String[] setEnabled(boolean enable)
enable - A boolean value that indicates whether the caches should be enabled or disabledboolean isEnabled(String cacheID)
cacheID - The ID of the cache to be indicated as enabled or disabledvoid applyAction(String cacheID, CacheAction cacheAction, boolean cluster) throws ApplyActionException
cacheID - The ID of the cache on which to apply the actioncacheAction - - Specific cache action object to be appliedcluster - A boolean value that indicates whether to perform the action on entire clusterApplyActionException - - Apply Action Exception| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/common/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice