クラス SyncServerCacheStoreFactory.SyncServerCacheStore
java.lang.Object
org.iplass.mtp.impl.cache.store.builtin.SyncServerCacheStoreFactory.SyncServerCacheStore
- すべての実装されたインタフェース:
CacheStore
- 含まれているクラス:
SyncServerCacheStoreFactory
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidaddCacheEventListenner(CacheEventListener listener) compute(Object key, BiFunction<Object, CacheEntry, CacheEntry> remappingFunction) ConcurrentMapが提供するcomputeと同等の機能性を提供するメソッド。computeIfAbsent(Object key, Function<Object, CacheEntry> mappingFunction) ConcurrentMapが提供するcomputeIfAbsentと同等の機能性を提供するメソッド。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) voidremoveCacheEventListenner(CacheEventListener listener) replace(CacheEntry entry) booleanreplace(CacheEntry oldEntry, CacheEntry newEntry) trace()クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド org.iplass.mtp.impl.cache.store.CacheStore
computeIfAbsentWithAutoReload
-
コンストラクタの詳細
-
SyncServerCacheStore
SyncServerCacheStore(String namespace, CacheStore wrapped)
-
-
メソッドの詳細
-
getNamespace
- 定義:
getNamespaceインタフェース内CacheStore
-
put
- 定義:
putインタフェース内CacheStore- パラメータ:
entry-isClean- putするentryが更新されたものでない場合(他のNodeで読み込まれていても問題ない場合)ture
-
putIfAbsent
- 定義:
putIfAbsentインタフェース内CacheStore
-
computeIfAbsent
インタフェースからコピーされた説明:CacheStoreConcurrentMapが提供するcomputeIfAbsentと同等の機能性を提供するメソッド。 デフォルト実装ではmappingFunctionが複数回呼び出される可能性はある。 厳密にmappingFunctionが1度しか呼び出されないか否かは各CacheStore実装クラスによる。- 定義:
computeIfAbsentインタフェース内CacheStore- パラメータ:
key-mappingFunction-- 戻り値:
-
compute
インタフェースからコピーされた説明:CacheStoreConcurrentMapが提供するcomputeと同等の機能性を提供するメソッド。 デフォルト実装ではremappingFunctionが複数回呼び出される可能性はある。 厳密にremappingFunctionが1度しか呼び出されないか否かは各CacheStore実装クラスによる。- 定義:
computeインタフェース内CacheStore- パラメータ:
key-remappingFunction-- 戻り値:
-
get
- 定義:
getインタフェース内CacheStore
-
remove
- 定義:
removeインタフェース内CacheStore
-
remove
- 定義:
removeインタフェース内CacheStore
-
replace
- 定義:
replaceインタフェース内CacheStore
-
replace
- 定義:
replaceインタフェース内CacheStore
-
removeAll
public void removeAll()- 定義:
removeAllインタフェース内CacheStore
-
keySet
- 定義:
keySetインタフェース内CacheStore
-
getByIndex
- 定義:
getByIndexインタフェース内CacheStore
-
getListByIndex
- 定義:
getListByIndexインタフェース内CacheStore
-
addCacheEventListenner
- 定義:
addCacheEventListennerインタフェース内CacheStore
-
removeCacheEventListenner
- 定義:
removeCacheEventListennerインタフェース内CacheStore
-
getFactory
- 定義:
getFactoryインタフェース内CacheStore
-
removeByIndex
- 定義:
removeByIndexインタフェース内CacheStore
-
getSize
public int getSize()- 定義:
getSizeインタフェース内CacheStore
-
trace
- 定義:
traceインタフェース内CacheStore
-
destroy
public void destroy()- 定義:
destroyインタフェース内CacheStore
-
getListeners
- 定義:
getListenersインタフェース内CacheStore
-