public interface CacheMonitorMBean
MBean
implemenation for monitoring and manipulation of the cache.Modifier and Type | Method and Description |
---|---|
void |
flushAll()
Will flush all entries from all configured caches.
|
void |
flushByUUID(String repository,
String uuid)
Will flush all entries with key bound to given uuid from all configured caches.
|
Map<String,Integer> |
getAll() |
int |
getBypasses()
Gets number of times since the last server restart the caching policy decided to bypass cache and serve request out of repository (i.e.
|
int |
getCachedKeysCount()
Gets number of entries in all known caches even if those entries have been generated from content with same uuid (e.g.
|
int |
getCachedUUIDsCount()
Gets number of content uuids that are held in all known caches.
|
Map<String,Integer> |
getDomainAccesses()
Gets number of times the requests have been served for each configured domain since the last server restart.
|
Map<String,Integer> |
getFlushes()
Gets number of times each configured cache have been flushed since the last server restart.
|
int |
getHits()
Gets number of times since the last server restart the cache found and served the entry requested by client.
|
int |
getPuts()
Gets number of times since the last server restart the cached entry for the request didn't exist and was put in the cache.
|
int |
getStartCalls()
Gets number of times Cache Module was started since the last server restart.
|
int |
getStopCalls()
Gets number of times Cache Module was stopped since the last server restart.
|
int getHits()
int getBypasses()
int getPuts()
int getStopCalls()
int getStartCalls()
Map<String,Integer> getFlushes()
Map<String,Integer> getDomainAccesses()
int getCachedUUIDsCount()
int getCachedKeysCount()
void flushAll() throws Exception
Exception
void flushByUUID(String repository, String uuid) throws Exception
Exception
Copyright © 2015 Magnolia International Ltd.. All rights reserved.