public class DbCounter.Cache extends cn.weforward.common.util.LruCache<String,CounterItem> implements Flushable
cn.weforward.common.util.LruCache.CacheNode<K,V>, cn.weforward.common.util.LruCache.CopyOn, cn.weforward.common.util.LruCache.Direct, cn.weforward.common.util.LruCache.DirtyData<V>, cn.weforward.common.util.LruCache.Loader<K,V>, cn.weforward.common.util.LruCache.Updater<K,V>_clock, _dirty, _emptyDirtyData, _pending, _unassigned, m_GetCount, m_LoadConcurrent, m_LoadCount, m_MaxLoadConcurrent, m_Name, m_NullTimeout, m_Options, m_PendingTimeout, m_Timeout, m_UpdatedChain, OPTION_REACHABLE, POLICY_GC_FORWARD| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
afterNodeUpdate(cn.weforward.common.util.LruHashMap.Node<String,CounterItem> p) |
void |
flush()
执行缓存数据刷写
|
afterNodeAccess, afterNodeLoad, afterNodeRemoval, getAndLoad, getDirtyData, getHintLoad, getHintLoad, getHitRate, getLruHead, getMaxLoadConcurrent, getName, getNode, getNullTimeout, getPendingTimeout, getTimeout, idleTrim, markUpdated, newNode, onGcCleanup, openNode, setMaxLoadConcurrent, setName, setNullTimeout, setPendingTimeout, setReachable, setTimeout, toString, trim, trimClean, update, updatedLockafterNodeInsertion, clear, fixLru, get, getMaxCapacity, getOrDefault, hash, initLru, isLruEmpty, iterator, lru, lruLock, pinch, put, putIfAbsent, putLru, rebuild, remove, remove, removeAll, removeLru, resize, setMaxCapacity, size, tableLock, tableSizeForclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Cache(String name)
protected void afterNodeUpdate(cn.weforward.common.util.LruHashMap.Node<String,CounterItem> p)
afterNodeUpdate 在类中 cn.weforward.common.util.LruCache<String,CounterItem>Copyright © 2021. All rights reserved.