public class CacheSimpleConfig extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BACKUP_COUNT
The number of default backup counter
|
static int |
DEFAULT_EVICTION_PERCENTAGE
Default eviction percentage
|
static EvictionPolicy |
DEFAULT_EVICTION_POLICY
Default Eviction Policy.
|
static int |
DEFAULT_EVICTION_THRESHOLD_PERCENTAGE
The threshold default value for eviction
|
static InMemoryFormat |
DEFAULT_IN_MEMORY_FORMAT
Default InMemory Format.
|
static int |
MAX_BACKUP_COUNT
The number of maximum backup counter
|
static int |
MAX_EVICTION_PERCENTAGE
Maximum eviction percentage
|
static int |
MIN_BACKUP_COUNT
The number of minimum backup counter
|
static int |
MIN_EVICTION_PERCENTAGE
Minimum eviction percentage
|
Constructor and Description |
---|
CacheSimpleConfig() |
CacheSimpleConfig(CacheSimpleConfig cacheSimpleConfig) |
public static final int MIN_BACKUP_COUNT
public static final int MAX_BACKUP_COUNT
public static final int DEFAULT_BACKUP_COUNT
public static final InMemoryFormat DEFAULT_IN_MEMORY_FORMAT
public static final EvictionPolicy DEFAULT_EVICTION_POLICY
public static final int MIN_EVICTION_PERCENTAGE
public static final int DEFAULT_EVICTION_PERCENTAGE
public static final int DEFAULT_EVICTION_THRESHOLD_PERCENTAGE
public static final int MAX_EVICTION_PERCENTAGE
public CacheSimpleConfig(CacheSimpleConfig cacheSimpleConfig)
public CacheSimpleConfig()
public CacheSimpleConfig getAsReadOnly()
public String getName()
public CacheSimpleConfig setName(String name)
public String getKeyType()
public CacheSimpleConfig setKeyType(String keyType)
public String getValueType()
public CacheSimpleConfig setValueType(String valueType)
public boolean isStatisticsEnabled()
public CacheSimpleConfig setStatisticsEnabled(boolean statisticsEnabled)
public boolean isManagementEnabled()
public CacheSimpleConfig setManagementEnabled(boolean managementEnabled)
public boolean isReadThrough()
public CacheSimpleConfig setReadThrough(boolean readThrough)
public boolean isWriteThrough()
public CacheSimpleConfig setWriteThrough(boolean writeThrough)
public String getCacheLoaderFactory()
public CacheSimpleConfig setCacheLoaderFactory(String cacheLoaderFactory)
public String getCacheWriterFactory()
public CacheSimpleConfig setCacheWriterFactory(String cacheWriterFactory)
public String getExpiryPolicyFactory()
public CacheSimpleConfig setExpiryPolicyFactory(String expiryPolicyFactory)
public CacheSimpleConfig addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
public List<CacheSimpleEntryListenerConfig> getCacheEntryListeners()
public CacheSimpleConfig setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
public int getAsyncBackupCount()
public CacheSimpleConfig setAsyncBackupCount(int asyncBackupCount)
public int getBackupCount()
public CacheSimpleConfig setBackupCount(int backupCount)
public InMemoryFormat getInMemoryFormat()
public CacheSimpleConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
public EvictionPolicy getEvictionPolicy()
public CacheSimpleConfig setEvictionPolicy(EvictionPolicy evictionPolicy)
public int getEvictionPercentage()
public CacheSimpleConfig setEvictionPercentage(int evictionPercentage)
public int getEvictionThresholdPercentage()
public CacheSimpleConfig setEvictionThresholdPercentage(int evictionThresholdPercentage)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.