public class CacheAccessCounter extends Object implements Component
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Integer> |
_count |
static String |
ROLE
Avalon Role
|
| Constructor and Description |
|---|
CacheAccessCounter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAskedResources()
Get the number of asked resources
|
int |
getAskedResources(String siteName)
Get the number of asked resources
|
void |
increaseAskedResources(String siteName)
Increase the number of asked resources
|
void |
resetAllCount()
Reset all counters
|
void |
resetCount(String siteName)
Reset count
|
public CacheAccessCounter()
public void increaseAskedResources(String siteName)
siteName - the site namepublic int getAskedResources(String siteName)
siteName - the site namepublic int getAskedResources()
public void resetCount(String siteName)
siteName - the site namepublic void resetAllCount()