public class MultiMapConfigReadOnly extends MultiMapConfig
MultiMap.MultiMapConfig.ValueCollectionTypeDEFAULT_ASYNC_BACKUP_COUNT, DEFAULT_SYNC_BACKUP_COUNT, DEFAULT_VALUE_COLLECTION_TYPE| Constructor and Description |
|---|
MultiMapConfigReadOnly(MultiMapConfig defConfig)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MultiMapConfig |
addEntryListenerConfig(EntryListenerConfig listenerConfig)
Deprecated.
Adds an entry listener to this MultiMap (listens for when entries are added or removed).
|
List<EntryListenerConfig> |
getEntryListenerConfigs()
Deprecated.
Gets the list of entry listeners (listens for when entries are added or removed) for this MultiMap.
|
MultiMapConfig |
setAsyncBackupCount(int asyncBackupCount)
Deprecated.
Sets the number of asynchronous backups.
|
MultiMapConfig |
setBackupCount(int backupCount)
Deprecated.
Sets the number of synchronous backups.
|
MultiMapConfig |
setBinary(boolean binary)
Deprecated.
Enables or disables binary (serialized) form for this MultiMap.
|
MultiMapConfig |
setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
Deprecated.
Sets the list of entry listeners (listens for when entries are added or removed) for this MultiMap.
|
MultiMapConfig |
setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Deprecated.
Sets the
MergePolicyConfig for this MultiMap. |
MultiMapConfig |
setName(String name)
Deprecated.
Sets the name of this MultiMap.
|
MultiMapConfig |
setQuorumName(String quorumName)
Deprecated.
Sets the quorum name for operations.
|
MultiMapConfig |
setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.
Enables or disables statistics for this MultiMap.
|
MultiMapConfig |
setSyncBackupCount(int syncBackupCount)
Deprecated.
|
MultiMapConfig |
setValueCollectionType(MultiMapConfig.ValueCollectionType valueCollectionType)
Deprecated.
Sets the collection type for the values of this MultiMap.
|
MultiMapConfig |
setValueCollectionType(String valueCollectionType)
Deprecated.
Sets the collection type for the values of this MultiMap.
|
equals, getAsReadOnly, getAsyncBackupCount, getBackupCount, getFactoryId, getId, getMergePolicyConfig, getName, getProvidedMergeTypes, getQuorumName, getSyncBackupCount, getTotalBackupCount, getValueCollectionType, hashCode, isBinary, isStatisticsEnabled, readData, toString, writeDatapublic MultiMapConfigReadOnly(MultiMapConfig defConfig)
public List<EntryListenerConfig> getEntryListenerConfigs()
MultiMapConfiggetEntryListenerConfigs in class MultiMapConfigpublic MultiMapConfig setName(String name)
MultiMapConfigsetName in interface NamedConfigsetName in class MultiMapConfigname - the name to set for this MultiMappublic MultiMapConfig setValueCollectionType(String valueCollectionType)
MultiMapConfigsetValueCollectionType in class MultiMapConfigvalueCollectionType - the collection type for the values of this MultiMap (SET or LIST)public MultiMapConfig setValueCollectionType(MultiMapConfig.ValueCollectionType valueCollectionType)
MultiMapConfigsetValueCollectionType in class MultiMapConfigvalueCollectionType - the collection type for the values of this MultiMap (SET or LIST)public MultiMapConfig addEntryListenerConfig(EntryListenerConfig listenerConfig)
MultiMapConfigaddEntryListenerConfig in class MultiMapConfiglistenerConfig - the entry listener to add to this MultiMappublic MultiMapConfig setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
MultiMapConfigsetEntryListenerConfigs in class MultiMapConfiglistenerConfigs - the list of entry listeners for this MultiMappublic MultiMapConfig setBinary(boolean binary)
MultiMapConfigsetBinary in class MultiMapConfigbinary - true to set the MultiMap to binary (serialized) form, false otherwisepublic MultiMapConfig setSyncBackupCount(int syncBackupCount)
setSyncBackupCount in class MultiMapConfigpublic MultiMapConfig setBackupCount(int backupCount)
MultiMapConfigsetBackupCount in class MultiMapConfigbackupCount - the number of synchronous backups to set for this MultiMapMultiMapConfig.setAsyncBackupCount(int)public MultiMapConfig setAsyncBackupCount(int asyncBackupCount)
MultiMapConfigsetAsyncBackupCount in class MultiMapConfigasyncBackupCount - the number of asynchronous synchronous backups to setMultiMapConfig.setBackupCount(int),
MultiMapConfig.getAsyncBackupCount()public MultiMapConfig setStatisticsEnabled(boolean statisticsEnabled)
MultiMapConfigsetStatisticsEnabled in class MultiMapConfigstatisticsEnabled - true to enable statistics for this MultiMap, false to disablepublic MultiMapConfig setQuorumName(String quorumName)
MultiMapConfigsetQuorumName in class MultiMapConfigquorumName - the quorum namepublic MultiMapConfig setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
MultiMapConfigMergePolicyConfig for this MultiMap.setMergePolicyConfig in class MultiMapConfigCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.