public class IdCacheStats extends Object implements StatsListener
IdCacheStats
implements the StatsListener
and provides the information of the total number of entry in cache
table and the number of hits and total number of reads.Constructor and Description |
---|
IdCacheStats(String name)
Creates a new IdRepo Stats
|
Modifier and Type | Method and Description |
---|---|
void |
incrementGetRequestCount(int sizeOfCache) |
void |
incrementSearchRequestCount(int sizeOfCache) |
void |
printStats()
Prints the session statistics for the given session table.
|
void |
updateGetHitCount(int sizeOfCache) |
void |
updateSearchHitCount(int sizeOfCache) |
public IdCacheStats(String name)
name
- Name of Cachepublic void updateGetHitCount(int sizeOfCache)
public void incrementGetRequestCount(int sizeOfCache)
public void updateSearchHitCount(int sizeOfCache)
public void incrementSearchRequestCount(int sizeOfCache)
public void printStats()
printStats
in interface StatsListener
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.