|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICacheManager
Provides operations on the portal cache framework.
Method Summary | |
---|---|
void |
addCacheConfig(SessionConfig sessionConfig,
ICacheConfig cacheConfig,
ITransaction transaction)
Adds a cacheConfig to persistence. |
ICacheConfig |
createCacheConfig(String id)
Creates an ICacheConfig transient instance. |
void |
deleteCacheConfig(SessionConfig sessionConfig,
ICacheConfig cacheConfig,
ITransaction transaction)
Deletes a cacheConfig from persistence. |
int |
getCacheCapacity(String cacheId)
Returns the capacity to be used for the specified cache. |
ICacheConfig |
getCacheConfig(SessionConfig sessionConfig,
String cacheConfigId,
ITransaction transaction)
Returns a persistent cacheConfig instance. |
Method Detail |
---|
int getCacheCapacity(String cacheId)
cacheId
- the cache's identifier.
ICacheConfig createCacheConfig(String id) throws PortalException
ICacheConfig
transient instance.
id
- the id for the instance to be created.
PortalException
addCacheConfig(SessionConfig, ICacheConfig, ITransaction)
void addCacheConfig(SessionConfig sessionConfig, ICacheConfig cacheConfig, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.cacheConfig
- the transient cacheConfig instance to be persisted.transaction
- the transaction for persistence access.
PortalException
ICacheConfig getCacheConfig(SessionConfig sessionConfig, String cacheConfigId, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.cacheConfigId
- the cacheConfig's identifier.transaction
- the transaction for persistence access.
PortalObjectNotFoundException
- if no cacheConfig with such id was found.
PortalException
void deleteCacheConfig(SessionConfig sessionConfig, ICacheConfig cacheConfig, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.cacheConfig
- the persistent cacheConfig instance to be deleted.transaction
- the transaction for persistence access.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |