com.hazelcast.config
Class CacheSimpleConfig

java.lang.Object
  extended by com.hazelcast.config.CacheSimpleConfig
Direct Known Subclasses:
CacheSimpleConfigReadOnly

public class CacheSimpleConfig
extends Object

Simple configuration to hold parsed xml configuration.


Field Summary
static int DEFAULT_BACKUP_COUNT
          The number of default backup counter
static EvictionPolicy DEFAULT_EVICTION_POLICY
          Default Eviction Policy.
static InMemoryFormat DEFAULT_IN_MEMORY_FORMAT
          Default InMemory Format.
static int MAX_BACKUP_COUNT
          The number of maximum backup counter
static int MIN_BACKUP_COUNT
          The number of minimum backup counter
 
Constructor Summary
CacheSimpleConfig()
           
CacheSimpleConfig(CacheSimpleConfig cacheSimpleConfig)
           
 
Method Summary
 CacheSimpleConfig addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
           
 CacheSimpleConfig getAsReadOnly()
           
 int getAsyncBackupCount()
           
 int getBackupCount()
           
 List<CacheSimpleEntryListenerConfig> getCacheEntryListeners()
           
 String getCacheLoaderFactory()
           
 String getCacheWriterFactory()
           
 CacheEvictionConfig getEvictionConfig()
           
 String getExpiryPolicyFactory()
           
 InMemoryFormat getInMemoryFormat()
           
 String getKeyType()
           
 String getName()
           
 String getValueType()
           
 boolean isManagementEnabled()
           
 boolean isReadThrough()
           
 boolean isStatisticsEnabled()
           
 boolean isWriteThrough()
           
 CacheSimpleConfig setAsyncBackupCount(int asyncBackupCount)
           
 CacheSimpleConfig setBackupCount(int backupCount)
           
 CacheSimpleConfig setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
           
 CacheSimpleConfig setCacheLoaderFactory(String cacheLoaderFactory)
           
 CacheSimpleConfig setCacheWriterFactory(String cacheWriterFactory)
           
 CacheSimpleConfig setEvictionConfig(CacheEvictionConfig evictionConfig)
           
 CacheSimpleConfig setExpiryPolicyFactory(String expiryPolicyFactory)
           
 CacheSimpleConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
           
 CacheSimpleConfig setKeyType(String keyType)
           
 CacheSimpleConfig setManagementEnabled(boolean managementEnabled)
           
 CacheSimpleConfig setName(String name)
           
 CacheSimpleConfig setReadThrough(boolean readThrough)
           
 CacheSimpleConfig setStatisticsEnabled(boolean statisticsEnabled)
           
 CacheSimpleConfig setValueType(String valueType)
           
 CacheSimpleConfig setWriteThrough(boolean writeThrough)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_BACKUP_COUNT

public static final int MIN_BACKUP_COUNT
The number of minimum backup counter

See Also:
Constant Field Values

MAX_BACKUP_COUNT

public static final int MAX_BACKUP_COUNT
The number of maximum backup counter

See Also:
Constant Field Values

DEFAULT_BACKUP_COUNT

public static final int DEFAULT_BACKUP_COUNT
The number of default backup counter

See Also:
Constant Field Values

DEFAULT_IN_MEMORY_FORMAT

public static final InMemoryFormat DEFAULT_IN_MEMORY_FORMAT
Default InMemory Format.


DEFAULT_EVICTION_POLICY

public static final EvictionPolicy DEFAULT_EVICTION_POLICY
Default Eviction Policy.

Constructor Detail

CacheSimpleConfig

public CacheSimpleConfig(CacheSimpleConfig cacheSimpleConfig)

CacheSimpleConfig

public CacheSimpleConfig()
Method Detail

getAsReadOnly

public CacheSimpleConfig getAsReadOnly()

getName

public String getName()

setName

public CacheSimpleConfig setName(String name)

getKeyType

public String getKeyType()

setKeyType

public CacheSimpleConfig setKeyType(String keyType)

getValueType

public String getValueType()

setValueType

public CacheSimpleConfig setValueType(String valueType)

isStatisticsEnabled

public boolean isStatisticsEnabled()

setStatisticsEnabled

public CacheSimpleConfig setStatisticsEnabled(boolean statisticsEnabled)

isManagementEnabled

public boolean isManagementEnabled()

setManagementEnabled

public CacheSimpleConfig setManagementEnabled(boolean managementEnabled)

isReadThrough

public boolean isReadThrough()

setReadThrough

public CacheSimpleConfig setReadThrough(boolean readThrough)

isWriteThrough

public boolean isWriteThrough()

setWriteThrough

public CacheSimpleConfig setWriteThrough(boolean writeThrough)

getCacheLoaderFactory

public String getCacheLoaderFactory()

setCacheLoaderFactory

public CacheSimpleConfig setCacheLoaderFactory(String cacheLoaderFactory)

getCacheWriterFactory

public String getCacheWriterFactory()

setCacheWriterFactory

public CacheSimpleConfig setCacheWriterFactory(String cacheWriterFactory)

getExpiryPolicyFactory

public String getExpiryPolicyFactory()

setExpiryPolicyFactory

public CacheSimpleConfig setExpiryPolicyFactory(String expiryPolicyFactory)

addEntryListenerConfig

public CacheSimpleConfig addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)

getCacheEntryListeners

public List<CacheSimpleEntryListenerConfig> getCacheEntryListeners()

setCacheEntryListeners

public CacheSimpleConfig setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)

getAsyncBackupCount

public int getAsyncBackupCount()

setAsyncBackupCount

public CacheSimpleConfig setAsyncBackupCount(int asyncBackupCount)

getBackupCount

public int getBackupCount()

setBackupCount

public CacheSimpleConfig setBackupCount(int backupCount)

getInMemoryFormat

public InMemoryFormat getInMemoryFormat()

setInMemoryFormat

public CacheSimpleConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)

getEvictionConfig

public CacheEvictionConfig getEvictionConfig()

setEvictionConfig

public CacheSimpleConfig setEvictionConfig(CacheEvictionConfig evictionConfig)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.