|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheService
An interface for service implementations providing operations on Cache objects.
| Method Summary | |
|---|---|
void |
clearCache(String cacheManagerName,
String cacheName)
Clears all the elements in the cache. |
void |
createOrUpdateCache(String cacheManagerName,
String cacheName,
CacheEntity resource)
Create or update a cache represented by the submitted entity. |
| Method Detail |
|---|
void createOrUpdateCache(String cacheManagerName,
String cacheName,
CacheEntity resource)
throws org.terracotta.management.ServiceExecutionException
cacheManagerName - the name of the CacheManager managing the Cache to be updatedcacheName - the name of the Cache to be updatedresource - the representation of the resource informing this update
org.terracotta.management.ServiceExecutionException - if the update fails
void clearCache(String cacheManagerName,
String cacheName)
throws org.terracotta.management.ServiceExecutionException
cacheManagerName - the name of the CacheManager managing the Cache to be clearedcacheName - the name of the Cache to be cleared
org.terracotta.management.ServiceExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||