| Modifier and Type | Method and Description |
|---|---|
void |
addCacheContent(ICacheContent cacheContent)
Adds a new CacheContent instance
|
ICacheContent |
getCacheContent(String componentName,
CachingLevel cachingLevel,
String cachingLevelKey,
String key)
Gets a cache content instance
The instance can be either loaded from the database via the database cache loader or
be retrieved from memory
|
void |
initiate(String componentName)
Initiates the cache for a component (i.e. creates the groups and subgroups)
|
void |
invalidate(ICacheContent cacheContent)
Invalidates a cache content (performs cluster notification)
|
void |
invalidateCacheContent(ICacheContent cacheContent)
Invalidates the cache content instance and sends a notification to all the clusters
Note : this method acquires and releases a read lock on the supplied cache content instance
|
void |
invalidateDB()
Deprecated.
Invalidates all the database entries for prt the region. Won't be supported when using CML
|
void |
invalidateDB(ICacheContent cacheContent)
Deprecated.
Invalidates a cache entry in the db. Won't be supported when using CML
|
void |
invalidateLocally(ICacheContent cacheContent)
Invalidates a cache content locally (don't notify the clusters)
Note : this method acquires and releases a read lock on the cache content instance
|
void |
invalidateLocally(String componentName)
Invalidates the cache for a component locally (don't notify the clusters)
|
void |
invalidateLocally(String componentName,
CachingLevel cachingLevel)
Invalidates the cache for a component for a caching level locally (don't notify the clusters)
|
void |
invalidateLocally(String componentName,
CachingLevel cachingLevel,
String cachingLevelKey)
Invalidates the cache for a component with a caching level and a cachinglevel key locally
(don't notify the clusters)
|
void |
replaceCacheContent(ICacheContent newCacheContent)
Replaces the cache content, this method will send an invalidation through the clusters
Note : this method acquires and releases a read lock on the supplied cache content
|
static final String KEY
void addCacheContent(ICacheContent cacheContent) throws CacheContentExistsException
cacheContent - the new CacheContent instanceCacheContentExistsException - if the cached content already existsICacheContent getCacheContent(String componentName, CachingLevel cachingLevel, String cachingLevelKey, String key)
componentName - the component namecachingLevel - the caching levelcachingLevelKey - the caching level key (can be null)key - the keyvoid replaceCacheContent(ICacheContent newCacheContent)
newCacheContent - the new ICacheContent instance that will replace the old onevoid initiate(String componentName)
componentName - - the component namevoid invalidateCacheContent(ICacheContent cacheContent)
cacheContent - the new ICacheContent instancevoid invalidateLocally(String componentName)
componentName - - the component namevoid invalidateLocally(String componentName, CachingLevel cachingLevel)
componentName - the component namecachingLevel - the caching levelvoid invalidateLocally(String componentName, CachingLevel cachingLevel, String cachingLevelKey)
componentName - the component namecachingLevel - the caching levelcachingLevelKey - the caching level keyvoid invalidateLocally(ICacheContent cacheContent)
cacheContent - the ICacheContent instance to invalidatevoid invalidate(ICacheContent cacheContent)
cacheContent - the ICacheContent instance to invalidatevoid invalidateDB(ICacheContent cacheContent)
cacheContent - the ICacheContent instance to invalidatevoid invalidateDB()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice