クラス MapBaseCacheStore
java.lang.Object
org.iplass.mtp.impl.cache.store.builtin.SimpleCacheStoreBase
org.iplass.mtp.impl.cache.store.builtin.MapBaseCacheStore
- すべての実装されたインタフェース:
CacheStore
-
コンストラクタの概要
コンストラクタコンストラクタ説明MapBaseCacheStore(String namespace, Map<Object, CacheEntry> cache, int indexCount, long timeToLive, CacheStoreFactory factory) -
メソッドの概要
修飾子とタイプメソッド説明protected voidaddToIndex(CacheEntry entry) voiddestroy()getByIndex(int indexKey, Object indexValue) getListByIndex(int indexKey, Object indexValue) intgetSize()keySet()put(CacheEntry entry, boolean isClean) putIfAbsent(CacheEntry entry) booleanremove(CacheEntry entry) voidremoveByIndex(int indexKey, Object indexValue) protected voidremoveFromIndex(CacheEntry entry, boolean loose) protected voidprotected voidremoveNullEntry(NullKey key) replace(CacheEntry entry) booleanreplace(CacheEntry oldEntry, CacheEntry newEntry) trace()クラスから継承されたメソッド org.iplass.mtp.impl.cache.store.builtin.SimpleCacheStoreBase
addCacheEventListenner, baseTrace, getFactory, getListeners, getNamespace, hasListener, margeVal, notifyInvalidated, notifyPut, notifyRemoved, notifyUpdated, removeCacheEventListenner, subtractValクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド org.iplass.mtp.impl.cache.store.CacheStore
compute, computeIfAbsent, computeIfAbsentWithAutoReload
-
コンストラクタの詳細
-
MapBaseCacheStore
public MapBaseCacheStore(String namespace, Map<Object, CacheEntry> cache, int indexCount, long timeToLive, CacheStoreFactory factory)
-
-
メソッドの詳細
-
removeInvalidEntry
protected void removeInvalidEntry()- 定義:
removeInvalidEntryクラス内SimpleCacheStoreBase
-
get
-
addToIndex
-
removeFromIndex
-
put
- パラメータ:
entry-isClean- putするentryが更新されたものでない場合(他のNodeで読み込まれていても問題ない場合)ture
-
remove
-
removeAll
public void removeAll() -
putIfAbsent
-
remove
-
replace
-
replace
-
keySet
-
getByIndex
-
getListByIndex
-
removeByIndex
-
removeNullEntry
- 定義:
removeNullEntryクラス内SimpleCacheStoreBase
-
getSize
public int getSize() -
trace
-
destroy
public void destroy()
-