Class FileCacheStatsProviderGlobal
- java.lang.Object
-
- com.sun.enterprise.v3.services.impl.monitor.stats.FileCacheStatsProvider
-
- com.sun.enterprise.v3.services.impl.monitor.stats.FileCacheStatsProviderGlobal
-
- All Implemented Interfaces:
StatsProvider
@AMXMetadata(type="file-cache-mon", group="monitoring") @ManagedObject @Description("File Cache Statistics") public class FileCacheStatsProviderGlobal extends FileCacheStatsProvider
Server wide File cache statistics- Author:
- Amy Roh
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.v3.services.impl.monitor.stats.FileCacheStatsProvider
contentHitsCount, contentMissesCount, fileCache, heapSize, hitsCount, infoHitsCount, infoMissesCount, mappedMemorySize, maxHeapSize, maxMappedMemorySize, missesCount, openCacheEntriesCount
-
-
Constructor Summary
Constructors Constructor Description FileCacheStatsProviderGlobal(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHeapSizeEvent(String fileCacheName, long size)
void
addMappedMemorySizeEvent(String fileCacheName, long size)
void
countContentHitEvent(String fileCacheName)
void
countContentMissEvent(String fileCacheName)
void
countHitEvent(String fileCacheName)
void
countInfoHitEvent(String fileCacheName)
void
countInfoMissEvent(String fileCacheName)
void
countMissEvent(String fileCacheName)
void
decOpenCacheEntriesEvent(String fileCacheName)
void
incOpenCacheEntriesEvent(String fileCacheName)
void
subHeapSizeEvent(String fileCacheName, long size)
void
subMappedMemorySizeEvent(String fileCacheName, long size)
-
Methods inherited from class com.sun.enterprise.v3.services.impl.monitor.stats.FileCacheStatsProvider
getContentHitsCount, getContentMissesCount, getHeapSize, getHitsCount, getInfoHitsCount, getInfoMissesCount, getMappedMemorySize, getMaxHeapSize, getMaxMappedMemorySize, getMissesCount, getOpenCacheEntriesCount, getStatsObject, setStatsObject
-
-
-
-
Constructor Detail
-
FileCacheStatsProviderGlobal
public FileCacheStatsProviderGlobal(String name)
-
-
Method Detail
-
countHitEvent
public void countHitEvent(String fileCacheName)
- Overrides:
countHitEvent
in classFileCacheStatsProvider
-
countMissEvent
public void countMissEvent(String fileCacheName)
- Overrides:
countMissEvent
in classFileCacheStatsProvider
-
countInfoHitEvent
public void countInfoHitEvent(String fileCacheName)
- Overrides:
countInfoHitEvent
in classFileCacheStatsProvider
-
countInfoMissEvent
public void countInfoMissEvent(String fileCacheName)
- Overrides:
countInfoMissEvent
in classFileCacheStatsProvider
-
countContentHitEvent
public void countContentHitEvent(String fileCacheName)
- Overrides:
countContentHitEvent
in classFileCacheStatsProvider
-
countContentMissEvent
public void countContentMissEvent(String fileCacheName)
- Overrides:
countContentMissEvent
in classFileCacheStatsProvider
-
incOpenCacheEntriesEvent
public void incOpenCacheEntriesEvent(String fileCacheName)
- Overrides:
incOpenCacheEntriesEvent
in classFileCacheStatsProvider
-
decOpenCacheEntriesEvent
public void decOpenCacheEntriesEvent(String fileCacheName)
- Overrides:
decOpenCacheEntriesEvent
in classFileCacheStatsProvider
-
addHeapSizeEvent
public void addHeapSizeEvent(String fileCacheName, long size)
- Overrides:
addHeapSizeEvent
in classFileCacheStatsProvider
-
subHeapSizeEvent
public void subHeapSizeEvent(String fileCacheName, long size)
- Overrides:
subHeapSizeEvent
in classFileCacheStatsProvider
-
addMappedMemorySizeEvent
public void addMappedMemorySizeEvent(String fileCacheName, long size)
- Overrides:
addMappedMemorySizeEvent
in classFileCacheStatsProvider
-
subMappedMemorySizeEvent
public void subMappedMemorySizeEvent(String fileCacheName, long size)
- Overrides:
subMappedMemorySizeEvent
in classFileCacheStatsProvider
-
-