com.hazelcast.config
Class CacheSimpleConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.CacheSimpleConfig
      extended by com.hazelcast.config.CacheSimpleConfigReadOnly

public class CacheSimpleConfigReadOnly
extends CacheSimpleConfig

Readonly version of CacheSimpleConfig


Field Summary
 
Fields inherited from class com.hazelcast.config.CacheSimpleConfig
DEFAULT_BACKUP_COUNT, DEFAULT_EVICTION_POLICY, DEFAULT_IN_MEMORY_FORMAT, MAX_BACKUP_COUNT, MIN_BACKUP_COUNT
 
Constructor Summary
CacheSimpleConfigReadOnly(CacheSimpleConfig cacheSimpleConfig)
           
 
Method Summary
 CacheSimpleConfig addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
           
 List<CacheSimpleEntryListenerConfig> getCacheEntryListeners()
           
 EvictionConfig getEvictionConfig()
           
 CacheSimpleConfig setAsyncBackupCount(int asyncBackupCount)
          Sets the number of asynchronous backups.
 CacheSimpleConfig setBackupCount(int backupCount)
          Sets the number of backups
 CacheSimpleConfig setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
           
 CacheSimpleConfig setCacheLoaderFactory(String cacheLoaderFactory)
           
 CacheSimpleConfig setCacheWriterFactory(String cacheWriterFactory)
           
 CacheSimpleConfig setEvictionConfig(EvictionConfig 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)
           
 void setWanReplicationRef(WanReplicationRef wanReplicationRef)
           
 CacheSimpleConfig setWriteThrough(boolean writeThrough)
           
 
Methods inherited from class com.hazelcast.config.CacheSimpleConfig
getAsReadOnly, getAsyncBackupCount, getBackupCount, getCacheLoaderFactory, getCacheWriterFactory, getExpiryPolicyFactory, getInMemoryFormat, getKeyType, getName, getValueType, getWanReplicationRef, isManagementEnabled, isReadThrough, isStatisticsEnabled, isWriteThrough
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheSimpleConfigReadOnly

public CacheSimpleConfigReadOnly(CacheSimpleConfig cacheSimpleConfig)
Method Detail

getEvictionConfig

public EvictionConfig getEvictionConfig()
Overrides:
getEvictionConfig in class CacheSimpleConfig

getCacheEntryListeners

public List<CacheSimpleEntryListenerConfig> getCacheEntryListeners()
Overrides:
getCacheEntryListeners in class CacheSimpleConfig

setAsyncBackupCount

public CacheSimpleConfig setAsyncBackupCount(int asyncBackupCount)
Description copied from class: CacheSimpleConfig
Sets the number of asynchronous backups.

Overrides:
setAsyncBackupCount in class CacheSimpleConfig
Parameters:
asyncBackupCount - the number of asynchronous synchronous backups to set
Returns:
the updated CacheSimpleConfig
See Also:
CacheSimpleConfig.setBackupCount(int), CacheSimpleConfig.getAsyncBackupCount()

setBackupCount

public CacheSimpleConfig setBackupCount(int backupCount)
Description copied from class: CacheSimpleConfig
Sets the number of backups

Overrides:
setBackupCount in class CacheSimpleConfig
Parameters:
backupCount - the new backupCount
Returns:
the updated CacheSimpleConfig

setCacheEntryListeners

public CacheSimpleConfig setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
Overrides:
setCacheEntryListeners in class CacheSimpleConfig

setCacheLoaderFactory

public CacheSimpleConfig setCacheLoaderFactory(String cacheLoaderFactory)
Overrides:
setCacheLoaderFactory in class CacheSimpleConfig

setCacheWriterFactory

public CacheSimpleConfig setCacheWriterFactory(String cacheWriterFactory)
Overrides:
setCacheWriterFactory in class CacheSimpleConfig

setEvictionConfig

public CacheSimpleConfig setEvictionConfig(EvictionConfig evictionConfig)
Overrides:
setEvictionConfig in class CacheSimpleConfig

setExpiryPolicyFactory

public CacheSimpleConfig setExpiryPolicyFactory(String expiryPolicyFactory)
Overrides:
setExpiryPolicyFactory in class CacheSimpleConfig

setInMemoryFormat

public CacheSimpleConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
Overrides:
setInMemoryFormat in class CacheSimpleConfig

setKeyType

public CacheSimpleConfig setKeyType(String keyType)
Overrides:
setKeyType in class CacheSimpleConfig

setManagementEnabled

public CacheSimpleConfig setManagementEnabled(boolean managementEnabled)
Overrides:
setManagementEnabled in class CacheSimpleConfig

setName

public CacheSimpleConfig setName(String name)
Overrides:
setName in class CacheSimpleConfig

setReadThrough

public CacheSimpleConfig setReadThrough(boolean readThrough)
Overrides:
setReadThrough in class CacheSimpleConfig

setStatisticsEnabled

public CacheSimpleConfig setStatisticsEnabled(boolean statisticsEnabled)
Overrides:
setStatisticsEnabled in class CacheSimpleConfig

setValueType

public CacheSimpleConfig setValueType(String valueType)
Overrides:
setValueType in class CacheSimpleConfig

setWriteThrough

public CacheSimpleConfig setWriteThrough(boolean writeThrough)
Overrides:
setWriteThrough in class CacheSimpleConfig

addEntryListenerConfig

public CacheSimpleConfig addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
Overrides:
addEntryListenerConfig in class CacheSimpleConfig

setWanReplicationRef

public void setWanReplicationRef(WanReplicationRef wanReplicationRef)
Overrides:
setWanReplicationRef in class CacheSimpleConfig


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