public class SimpleCacheStoreFactory extends AbstractBuiltinCacheStoreFactory
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
SimpleCacheStoreFactory.ConcurrentHashMapCacheStore |
static class |
SimpleCacheStoreFactory.IndexedConcurrentHashMapCacheStore |
| コンストラクタと説明 |
|---|
SimpleCacheStoreFactory() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canUseForLocalCache() |
CacheHandler |
createCacheHandler(CacheStore store) |
CacheStore |
createCacheStore(java.lang.String namespace) |
int |
getConcurrencyLevel() |
long |
getEvictionInterval() |
int |
getInitialCapacity() |
float |
getLoadFactor() |
CacheStoreFactory |
getLowerLevel() |
int |
getSize() |
long |
getTimeToLive() |
boolean |
isMultiThreaded() |
void |
setConcurrencyLevel(int concurrencyLevel) |
void |
setEvictionInterval(long evictionInterval) |
void |
setInitialCapacity(int initialCapacity) |
void |
setLoadFactor(float loadFactor) |
void |
setMultiThreaded(boolean multiThreaded) |
void |
setSize(int size) |
void |
setTimeToLive(long timeToLive) |
boolean |
supportsIndex() |
getConcurrencyLevelOfCacheHandler, setConcurrencyLevelOfCacheHandlergetIndexCount, getNamespace, getNamespacePattern, setIndexCount, setNamespace, setNamespacePatternpublic long getEvictionInterval()
public void setEvictionInterval(long evictionInterval)
public boolean isMultiThreaded()
public void setMultiThreaded(boolean multiThreaded)
public int getSize()
public void setSize(int size)
public long getTimeToLive()
public void setTimeToLive(long timeToLive)
public int getInitialCapacity()
public void setInitialCapacity(int initialCapacity)
public float getLoadFactor()
public void setLoadFactor(float loadFactor)
public int getConcurrencyLevel()
public void setConcurrencyLevel(int concurrencyLevel)
public CacheStore createCacheStore(java.lang.String namespace)
createCacheStore クラス内 CacheStoreFactorypublic boolean canUseForLocalCache()
canUseForLocalCache クラス内 CacheStoreFactorypublic boolean supportsIndex()
supportsIndex クラス内 CacheStoreFactorypublic CacheHandler createCacheHandler(CacheStore store)
createCacheHandler クラス内 CacheStoreFactorypublic CacheStoreFactory getLowerLevel()
getLowerLevel クラス内 CacheStoreFactory