public class PolicyStatsListener extends Object implements StatsListener
com.iplanet.am.util.StatsListener
,
to record policy cache stats
We would potentially record cache stats of
PolicyCache: policies, policyManagers, policyListenersMap
PolicyEvaluator: policyResultsCache, ssoListenerRegistry,
policyListenerRegistry, userNSRoleCache,
resouceNamesMap
PolicyRequestHandler: policyEvaluators, listenerRegistry
An instance of PolicyStatsListener is constructed
and registered with Stats service at the first invocation of
PolicyCache.getInstance() callConstructor and Description |
---|
PolicyStatsListener(Stats policyStats)
Constructs PolicyStatsListener
|
Modifier and Type | Method and Description |
---|---|
void |
printStats()
Records policy cache stats.
|
public PolicyStatsListener(Stats policyStats)
policyStats
- Stats
instance that would be
used to record cache statspublic void printStats()
printStats
in interface StatsListener
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.