protected class AbstractPersister.Cache extends PersistentCache<E>
PersistentCache.PersistNodecn.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>VERSION_UPDATING_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 String |
newer(E object)
标记(可能是)新的持久化对象(用于对象未刷写前能进行查询)
|
protected String |
persist(E object,
PersistentCache.PersistNode node)
把对象持久化
|
afterNodeRemoval, afterNodeUpdate, flush, getNode, getNullTimeout, getVersion, isDirty, newNode, openNode, updateVersion, updatingafterNodeAccess, afterNodeLoad, getAndLoad, getDirtyData, getHintLoad, getHintLoad, getHitRate, getLruHead, getMaxLoadConcurrent, getName, getPendingTimeout, getTimeout, idleTrim, markUpdated, onGcCleanup, 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, spliteratorprotected Cache(String name)
protected String persist(E object, PersistentCache.PersistNode node)
PersistentCachepersist 在类中 PersistentCache<E extends Persistent>object - 要持久化的对象node - 对应的缓存节点protected String newer(E object)
PersistentCachenewer 在类中 PersistentCache<E extends Persistent>object - (可能是)新的持久化对象Copyright © 2021. All rights reserved.