| java.lang.Object com.tcclient.cache.CacheConfig
CacheConfig | public class CacheConfig (Code) | | Cache configuration. This is a shared object so only one should exist. This config is shared
across all nodes involved in the cache and is immutable.
|
Constructor Summary | |
public | CacheConfig(String cacheName, long maxIdleTimeoutSeconds, long maxTTLSeconds, long invalidatorSleepSeconds, Expirable callback, int concurrency, int evictorPoolSize, boolean globalEvictionEnabled, int globalEvictionFrequency, boolean isLoggingEnabled, boolean isEvictorLoggingEnabled, int numOfChunks, long restMillis) | public | CacheConfig(String cacheName, long maxIdleTimeoutSeconds, long maxTTLSeconds, long invalidatorSleepSeconds, Expirable callback, Manager manager) Extract ehcache config properties from manager. |
CacheConfig | public CacheConfig(String cacheName, long maxIdleTimeoutSeconds, long maxTTLSeconds, long invalidatorSleepSeconds, Expirable callback, int concurrency, int evictorPoolSize, boolean globalEvictionEnabled, int globalEvictionFrequency, boolean isLoggingEnabled, boolean isEvictorLoggingEnabled, int numOfChunks, long restMillis)(Code) | | |
CacheConfig | public CacheConfig(String cacheName, long maxIdleTimeoutSeconds, long maxTTLSeconds, long invalidatorSleepSeconds, Expirable callback, Manager manager)(Code) | | Extract ehcache config properties from manager.
|
getConcurrency | public int getConcurrency()(Code) | | |
getEvictorPoolSize | public int getEvictorPoolSize()(Code) | | |
getGlobalEvictionFrequency | public int getGlobalEvictionFrequency()(Code) | | |
getInvalidatorSleepSeconds | public long getInvalidatorSleepSeconds()(Code) | | |
getMaxIdleTimeoutMillis | public long getMaxIdleTimeoutMillis()(Code) | | |
getMaxIdleTimeoutSeconds | public long getMaxIdleTimeoutSeconds()(Code) | | |
getMaxTTLMillis | public long getMaxTTLMillis()(Code) | | |
getMaxTTLSeconds | public long getMaxTTLSeconds()(Code) | | |
getNumOfChunks | public int getNumOfChunks()(Code) | | |
getRestMillis | public long getRestMillis()(Code) | | |
getStoresPerInvalidator | public int getStoresPerInvalidator()(Code) | | |
isEvictorLoggingEnabled | public boolean isEvictorLoggingEnabled()(Code) | | |
isGlobalEvictionEnabled | public boolean isGlobalEvictionEnabled()(Code) | | |
isLoggingEnabled | public boolean isLoggingEnabled()(Code) | | |
|
|