Class CacheRpc
- java.lang.Object
-
- com.atlassian.confluence.it.rpc.delegates.admin.CacheRpc
-
public class CacheRpc extends Object
Interacts the with cache and gets statistics.
-
-
Constructor Summary
Constructors Constructor Description CacheRpc(AuthenticatedWebResourceProvider resourceProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flushAll()
int
getCacheMaxEntries(String cacheName)
CacheStatistics
getCacheStatistics(CacheKey key)
void
putStringMappingInCache(String cacheName, String entryKey, String value)
void
setCacheMaxEntries(String cacheName, int maxNumElements)
-
-
-
Constructor Detail
-
CacheRpc
public CacheRpc(AuthenticatedWebResourceProvider resourceProvider)
-
-
Method Detail
-
flushAll
public void flushAll()
-
getCacheMaxEntries
public int getCacheMaxEntries(String cacheName)
-
setCacheMaxEntries
public void setCacheMaxEntries(String cacheName, int maxNumElements)
-
putStringMappingInCache
public void putStringMappingInCache(String cacheName, String entryKey, String value)
-
getCacheStatistics
public CacheStatistics getCacheStatistics(CacheKey key)
-
-