public class CacheSimpleConfigReadOnly extends CacheSimpleConfig
CacheSimpleConfigCacheSimpleConfig.ExpiryPolicyFactoryConfigDEFAULT_BACKUP_COUNT, DEFAULT_CACHE_MERGE_POLICY, DEFAULT_IN_MEMORY_FORMAT, MAX_BACKUP_COUNT, MIN_BACKUP_COUNT| Constructor and Description |
|---|
CacheSimpleConfigReadOnly(CacheSimpleConfig cacheSimpleConfig)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CacheSimpleConfig |
addCachePartitionLostListenerConfig(CachePartitionLostListenerConfig listenerConfig)
Deprecated.
Adds the CachePartitionLostListenerConfig to partitionLostListenerConfigs.
|
CacheSimpleConfig |
addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
Deprecated.
Adds
CacheSimpleEntryListenerConfig to this ICache. |
List<CacheSimpleEntryListenerConfig> |
getCacheEntryListeners()
Deprecated.
Gets a list of
CacheSimpleEntryListenerConfig from this ICache. |
EvictionConfig |
getEvictionConfig()
Deprecated.
Gets the eviction configuration for this
ICache. |
CacheSimpleConfig |
setAsyncBackupCount(int asyncBackupCount)
Deprecated.
Sets the number of asynchronous backups for this
ICache. |
CacheSimpleConfig |
setBackupCount(int backupCount)
Deprecated.
Sets the number of synchronous backups for this
ICache. |
CacheSimpleConfig |
setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
Deprecated.
Sets a list of
CacheSimpleEntryListenerConfig for this ICache. |
CacheSimpleConfig |
setCacheLoaderFactory(String cacheLoaderFactory)
Deprecated.
Sets the factory for this
CacheLoader. |
CacheSimpleConfig |
setCacheWriterFactory(String cacheWriterFactory)
Deprecated.
Sets the factory for this
CacheWriter. |
void |
setDisablePerEntryInvalidationEvents(boolean disablePerEntryInvalidationEvents)
Deprecated.
Sets invalidation events disabled status for per entry.
|
CacheSimpleConfig |
setEvictionConfig(EvictionConfig evictionConfig)
Deprecated.
Sets the eviction configuration for this
ICache. |
CacheSimpleConfig |
setExpiryPolicyFactory(String className)
Deprecated.
Sets the factory for this
ExpiryPolicy. |
CacheSimpleConfig |
setExpiryPolicyFactoryConfig(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig)
Deprecated.
Sets the factory configuration for this
ExpiryPolicy. |
CacheSimpleConfig |
setHotRestartConfig(HotRestartConfig hotRestartConfig)
Deprecated.
Sets the
HotRestartConfig for this CacheSimpleConfig |
CacheSimpleConfig |
setInMemoryFormat(InMemoryFormat inMemoryFormat)
Deprecated.
Sets the InMemory Format for this
ICache. |
CacheSimpleConfig |
setKeyType(String keyType)
Deprecated.
Sets the key type for this
ICache. |
CacheSimpleConfig |
setManagementEnabled(boolean managementEnabled)
Deprecated.
Sets management to enabled or disabled for this
ICache. |
void |
setMergePolicy(String mergePolicy)
Deprecated.
Sets the class name of
CacheMergePolicy implementation to this cache config. |
CacheSimpleConfig |
setName(String name)
Deprecated.
Sets the name of this
ICache. |
CacheSimpleConfig |
setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs)
Deprecated.
Sets the PartitionLostListenerConfigs.
|
CacheSimpleConfig |
setQuorumName(String quorumName)
Deprecated.
Associates this cache configuration to a quorum.
|
CacheSimpleConfig |
setReadThrough(boolean readThrough)
Deprecated.
Enables or disables read-through: a read loads the entry from the data store if it is not already in the cache.
|
CacheSimpleConfig |
setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.
Sets statistics to enabled or disabled for this
ICache. |
CacheSimpleConfig |
setValueType(String valueType)
Deprecated.
Sets the value type for this
ICache. |
void |
setWanReplicationRef(WanReplicationRef wanReplicationRef)
Deprecated.
Sets the WAN target replication reference.
|
CacheSimpleConfig |
setWriteThrough(boolean writeThrough)
Deprecated.
Enables or disables write-through for this
ICache: a write to the queue also loads
the entry into the data store. |
equals, getAsReadOnly, getAsyncBackupCount, getBackupCount, getCacheLoader, getCacheLoaderFactory, getCacheWriter, getCacheWriterFactory, getExpiryPolicyFactoryConfig, getFactoryId, getHotRestartConfig, getId, getInMemoryFormat, getKeyType, getMergePolicy, getName, getPartitionLostListenerConfigs, getProvidedMergeTypes, getQuorumName, getValueType, getWanReplicationRef, hashCode, isDisablePerEntryInvalidationEvents, isManagementEnabled, isReadThrough, isStatisticsEnabled, isWriteThrough, readData, setCacheLoader, setCacheWriter, toString, writeDatapublic CacheSimpleConfigReadOnly(CacheSimpleConfig cacheSimpleConfig)
public EvictionConfig getEvictionConfig()
CacheSimpleConfigICache.getEvictionConfig in class CacheSimpleConfigpublic List<CacheSimpleEntryListenerConfig> getCacheEntryListeners()
CacheSimpleConfigCacheSimpleEntryListenerConfig from this ICache.getCacheEntryListeners in class CacheSimpleConfigCacheSimpleEntryListenerConfigpublic CacheSimpleConfig setAsyncBackupCount(int asyncBackupCount)
CacheSimpleConfigICache.setAsyncBackupCount in class CacheSimpleConfigasyncBackupCount - the number of asynchronous synchronous backups to setCacheSimpleConfig.setBackupCount(int),
CacheSimpleConfig.getAsyncBackupCount()public CacheSimpleConfig setBackupCount(int backupCount)
CacheSimpleConfigICache.setBackupCount in class CacheSimpleConfigbackupCount - the new backupCountpublic CacheSimpleConfig setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
CacheSimpleConfigCacheSimpleEntryListenerConfig for this ICache.setCacheEntryListeners in class CacheSimpleConfigcacheEntryListeners - list of CacheSimpleEntryListenerConfigCacheSimpleConfig instancepublic CacheSimpleConfig setCacheLoaderFactory(String cacheLoaderFactory)
CacheSimpleConfigCacheLoader.setCacheLoaderFactory in class CacheSimpleConfigcacheLoaderFactory - the factory to set for this CacheLoaderpublic CacheSimpleConfig setCacheWriterFactory(String cacheWriterFactory)
CacheSimpleConfigCacheWriter.setCacheWriterFactory in class CacheSimpleConfigcacheWriterFactory - the factory to set for this CacheWriterpublic CacheSimpleConfig setEvictionConfig(EvictionConfig evictionConfig)
CacheSimpleConfigICache.setEvictionConfig in class CacheSimpleConfigevictionConfig - the eviction configuration to setpublic CacheSimpleConfig setExpiryPolicyFactoryConfig(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig)
CacheSimpleConfigExpiryPolicy.setExpiryPolicyFactoryConfig in class CacheSimpleConfigexpiryPolicyFactoryConfig - the factory configuration to set for this ExpiryPolicypublic CacheSimpleConfig setExpiryPolicyFactory(String className)
CacheSimpleConfigExpiryPolicy.setExpiryPolicyFactory in class CacheSimpleConfigclassName - the factory to set for this ExpiryPolicypublic CacheSimpleConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
CacheSimpleConfigICache.setInMemoryFormat in class CacheSimpleConfiginMemoryFormat - the InMemory Formatpublic CacheSimpleConfig setKeyType(String keyType)
CacheSimpleConfigICache.setKeyType in class CacheSimpleConfigkeyType - the key type to set for this ICachepublic CacheSimpleConfig setManagementEnabled(boolean managementEnabled)
CacheSimpleConfigICache.setManagementEnabled in class CacheSimpleConfigmanagementEnabled - true to enable cache management, false to disablepublic CacheSimpleConfig setName(String name)
CacheSimpleConfigICache.setName in interface NamedConfigsetName in class CacheSimpleConfigname - the name to set for this ICachepublic CacheSimpleConfig setReadThrough(boolean readThrough)
CacheSimpleConfigsetReadThrough in class CacheSimpleConfigreadThrough - true to enable read-through for this ICache,
false to disablepublic CacheSimpleConfig setStatisticsEnabled(boolean statisticsEnabled)
CacheSimpleConfigICache.setStatisticsEnabled in class CacheSimpleConfigstatisticsEnabled - true to enable cache statistics, false to disablepublic CacheSimpleConfig setValueType(String valueType)
CacheSimpleConfigICache.setValueType in class CacheSimpleConfigvalueType - the value type to set for this ICachepublic CacheSimpleConfig setWriteThrough(boolean writeThrough)
CacheSimpleConfigICache: a write to the queue also loads
the entry into the data store.setWriteThrough in class CacheSimpleConfigwriteThrough - true to enable write-through, false to disablepublic CacheSimpleConfig addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
CacheSimpleConfigCacheSimpleEntryListenerConfig to this ICache.addEntryListenerConfig in class CacheSimpleConfigCacheSimpleConfig instancepublic void setWanReplicationRef(WanReplicationRef wanReplicationRef)
CacheSimpleConfigsetWanReplicationRef in class CacheSimpleConfigwanReplicationRef - the WAN target replication referencepublic CacheSimpleConfig setQuorumName(String quorumName)
CacheSimpleConfigsetQuorumName in class CacheSimpleConfigquorumName - name of the desired quorumpublic void setMergePolicy(String mergePolicy)
CacheSimpleConfigCacheMergePolicy implementation to this cache config.setMergePolicy in class CacheSimpleConfigmergePolicy - the class name of CacheMergePolicy implementation
to be set to this cache configpublic CacheSimpleConfig addCachePartitionLostListenerConfig(CachePartitionLostListenerConfig listenerConfig)
CacheSimpleConfigaddCachePartitionLostListenerConfig in class CacheSimpleConfiglistenerConfig - CachePartitionLostListenerConfig to be addedpublic CacheSimpleConfig setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs)
CacheSimpleConfigsetPartitionLostListenerConfigs in class CacheSimpleConfigpartitionLostListenerConfigs - CachePartitionLostListenerConfig listpublic void setDisablePerEntryInvalidationEvents(boolean disablePerEntryInvalidationEvents)
CacheSimpleConfigsetDisablePerEntryInvalidationEvents in class CacheSimpleConfigdisablePerEntryInvalidationEvents - Disables invalidation event sending behaviour if it is true,
otherwise enables itpublic CacheSimpleConfig setHotRestartConfig(HotRestartConfig hotRestartConfig)
CacheSimpleConfigHotRestartConfig for this CacheSimpleConfigsetHotRestartConfig in class CacheSimpleConfighotRestartConfig - hot restart configCacheSimpleConfig instanceCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.