kodo.util
Class MonitoringCacheMap
java.lang.Object
org.apache.openjpa.util.CacheMap
kodo.util.MonitoringCacheMap
- All Implemented Interfaces:
- StatisticsProvider, Map
public class MonitoringCacheMap
- extends CacheMap
- implements StatisticsProvider
Extends standard cache map to keep monitoring statistics.
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class org.apache.openjpa.util.CacheMap |
containsKey, containsValue, entryAdded, entryRemoved, entrySet, get, getCacheSize, getPinnedKeys, getSoftReferenceSize, isEmpty, isLRU, keySet, pin, put, putAll, readLock, readUnlock, remove, setCacheSize, setSoftReferenceSize, size, toString, unpin, values, writeLock, writeUnlock |
MonitoringCacheMap
public MonitoringCacheMap()
MonitoringCacheMap
public MonitoringCacheMap(boolean lru,
int max)
MonitoringCacheMap
public MonitoringCacheMap(boolean lru,
int max,
int size,
float load)
getStatistics
public Collection getStatistics()
- Return cache statistics.
- Specified by:
getStatistics
in interface StatisticsProvider
resetStatistics
public void resetStatistics()
- Reset cache statistics.
clear
public void clear()
- Specified by:
clear
in interface Map
- Overrides:
clear
in class CacheMap
cacheMapOverflowRemoved
protected void cacheMapOverflowRemoved(Object key,
Object value)
- Overrides:
cacheMapOverflowRemoved
in class CacheMap
softMapOverflowRemoved
protected void softMapOverflowRemoved(Object key,
Object value)
- Overrides:
softMapOverflowRemoved
in class CacheMap
softMapValueExpired
protected void softMapValueExpired(Object key)
- Overrides:
softMapValueExpired
in class CacheMap
put
protected Object put(Map map,
Object key,
Object value)
- Overrides:
put
in class CacheMap
remove
protected Object remove(Map map,
Object key)
- Overrides:
remove
in class CacheMap
Copyright 2011 Oracle, Inc. All Rights Reserved.This documentation is deprecated and will be removed in the next release of WebLogic Server.
Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-02