public static class SimpleCacheStoreFactory.ConcurrentHashMapCacheStore extends SimpleCacheStoreBase
| コンストラクタと説明 |
|---|
ConcurrentHashMapCacheStore(java.lang.String namespace,
CacheStoreFactory factory,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
long timeToLive,
int size) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
destroy() |
CacheEntry |
get(java.lang.Object key) |
CacheEntry |
getByIndex(int indexKey,
java.lang.Object indexValue) |
java.util.List<CacheEntry> |
getListByIndex(int indexKey,
java.lang.Object indexValue) |
java.util.List<java.lang.Object> |
keySet() |
CacheEntry |
put(CacheEntry entry,
boolean isClean) |
CacheEntry |
putIfAbsent(CacheEntry entry) |
boolean |
remove(CacheEntry entry) |
CacheEntry |
remove(java.lang.Object key) |
void |
removeAll() |
java.util.List<CacheEntry> |
removeByIndex(int indexKey,
java.lang.Object indexValue) |
protected void |
removeInvalidEntry() |
protected void |
removeNullEntry(NullKey key) |
CacheEntry |
replace(CacheEntry entry) |
boolean |
replace(CacheEntry oldEntry,
CacheEntry newEntry) |
java.lang.String |
trace() |
addCacheEventListenner, baseTrace, getFactory, getListeners, getNamespace, hasListener, margeVal, notifyInvalidated, notifyPut, notifyRemoved, notifyUpdated, removeCacheEventListenner, subtractValpublic ConcurrentHashMapCacheStore(java.lang.String namespace,
CacheStoreFactory factory,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
long timeToLive,
int size)
protected void removeInvalidEntry()
removeInvalidEntry クラス内 SimpleCacheStoreBasepublic CacheEntry get(java.lang.Object key)
public CacheEntry put(CacheEntry entry, boolean isClean)
isClean - putするentryが更新されたものでない場合(他のNodeで読み込まれていても問題ない場合)turepublic CacheEntry remove(java.lang.Object key)
public void removeAll()
public CacheEntry putIfAbsent(CacheEntry entry)
public boolean remove(CacheEntry entry)
public CacheEntry replace(CacheEntry entry)
public boolean replace(CacheEntry oldEntry, CacheEntry newEntry)
public java.util.List<java.lang.Object> keySet()
public CacheEntry getByIndex(int indexKey, java.lang.Object indexValue)
public java.util.List<CacheEntry> getListByIndex(int indexKey, java.lang.Object indexValue)
public java.util.List<CacheEntry> removeByIndex(int indexKey, java.lang.Object indexValue)
protected void removeNullEntry(NullKey key)
removeNullEntry クラス内 SimpleCacheStoreBasepublic java.lang.String trace()
public void destroy()