com.atlassian.confluence.it.rpc.delegates.admin
Class CacheRpc

java.lang.Object
  extended by com.atlassian.confluence.it.rpc.delegates.admin.CacheRpc

public class CacheRpc
extends Object

Interacts the with cache and gets statistics.


Constructor Summary
CacheRpc(AuthenticatedWebResourceProvider resourceProvider)
           
 
Method Summary
 void flushAll()
           
 int getCacheMaxEntries(String cacheName)
           
 CacheStatistics getCacheStatistics(CacheKey key)
           
 Set<CacheStatistics.Capability> getCacheStatisticsCapabilities()
           
 void putStringMappingInCache(String cacheName, String entryKey, String value)
           
 void setCacheMaxEntries(String cacheName, int maxNumElements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

getCacheStatisticsCapabilities

public Set<CacheStatistics.Capability> getCacheStatisticsCapabilities()

getCacheStatistics

public CacheStatistics getCacheStatistics(CacheKey key)


Copyright © 2003–2015 Atlassian. All rights reserved.