public class RedisTransientStore extends AbstractTransientStore
TransientStore
AbstractTransientStore.TransientCacheConfig
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
protected String |
namespace |
protected RedisAdmin |
redisAdmin |
protected RedisExecutor |
redisExecutor |
Constructor and Description |
---|
RedisTransientStore() |
Modifier and Type | Method and Description |
---|---|
protected void |
decrementStorageSize(long size) |
Class<? extends Cache> |
getCacheImplClass() |
long |
getStorageSize() |
protected void |
incrementStorageSize(long size) |
void |
init(TransientStoreConfig config)
Initialize the store from the configuration
|
protected void |
setStorageSize(long newSize) |
decrementStorageSize, doGC, get, getCachingDirectory, getCachingDirName, getKeyCachingDirName, getL1Cache, getL1CacheConfig, getL2Cache, getL2CacheConfig, getSize, getStorageSizeMB, incrementStorageSize, persistEntry, put, release, remove, shutdown
protected RedisExecutor redisExecutor
protected RedisAdmin redisAdmin
protected org.apache.commons.logging.Log log
public RedisTransientStore()
public void init(TransientStoreConfig config)
TransientStore
init
in interface TransientStore
init
in class AbstractTransientStore
protected void incrementStorageSize(long size)
incrementStorageSize
in class AbstractTransientStore
protected void decrementStorageSize(long size)
decrementStorageSize
in class AbstractTransientStore
public long getStorageSize()
getStorageSize
in class AbstractTransientStore
protected void setStorageSize(long newSize)
setStorageSize
in class AbstractTransientStore
public Class<? extends Cache> getCacheImplClass()
getCacheImplClass
in class AbstractTransientStore
Copyright © 2015 Nuxeo SA. All rights reserved.