|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPRTCacheService
The PRT Cache service is mainly a wrapper of the jcache api that handles the PRT cache It is used by the core of the PRT
| Field Summary | |
|---|---|
static String |
KEY
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface com.sapportals.portal.prt.service.IService |
|---|
afterInit, configure, destroy, getContext, getKey, init, release |
| Field Detail |
|---|
static final String KEY
| Method Detail |
|---|
void addCacheContent(ICacheContent cacheContent)
throws CacheContentExistsException
cacheContent - the new CacheContent instance
CacheContentExistsException
ICacheContent 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 key
void replaceCacheContent(ICacheContent newCacheContent)
newICacheContent - 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 name
void invalidateLocally(String componentName,
CachingLevel cachingLevel)
componentName - the component namecachingLevel - the caching level
void invalidateLocally(String componentName,
CachingLevel cachingLevel,
String cachingLevelKey)
void invalidateLocally(ICacheContent cacheContent)
void invalidate(ICacheContent cacheContent)
void invalidateDB(ICacheContent cacheContent)
void 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/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||