Package com.sun.identity.idm.common
Class IdCacheStats
- java.lang.Object
-
- com.sun.identity.idm.common.IdCacheStats
-
- All Implemented Interfaces:
StatsListener
public class IdCacheStats extends Object implements StatsListener
IdCacheStatsimplements theStatsListenerand provides the information of the total number of entry in cache table and the number of hits and total number of reads.
-
-
Constructor Summary
Constructors Constructor Description IdCacheStats(String name)Creates a new IdRepo Stats
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidincrementGetRequestCount(int sizeOfCache)voidincrementSearchRequestCount(int sizeOfCache)voidprintStats()Prints the session statistics for the given session table.voidupdateGetHitCount(int sizeOfCache)voidupdateSearchHitCount(int sizeOfCache)
-
-
-
Constructor Detail
-
IdCacheStats
public IdCacheStats(String name)
Creates a new IdRepo Stats- Parameters:
name- Name of Cache
-
-
Method Detail
-
updateGetHitCount
public void updateGetHitCount(int sizeOfCache)
-
incrementGetRequestCount
public void incrementGetRequestCount(int sizeOfCache)
-
updateSearchHitCount
public void updateSearchHitCount(int sizeOfCache)
-
incrementSearchRequestCount
public void incrementSearchRequestCount(int sizeOfCache)
-
printStats
public void printStats()
Prints the session statistics for the given session table.- Specified by:
printStatsin interfaceStatsListener
-
-