public class MultiMapConfigReadOnly extends MultiMapConfig
MultiMap
.MultiMapConfig.ValueCollectionType
DEFAULT_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, writeData
public MultiMapConfigReadOnly(MultiMapConfig defConfig)
public List<EntryListenerConfig> getEntryListenerConfigs()
MultiMapConfig
getEntryListenerConfigs
in class MultiMapConfig
public MultiMapConfig setName(String name)
MultiMapConfig
setName
in interface NamedConfig
setName
in class MultiMapConfig
name
- the name to set for this MultiMappublic MultiMapConfig setValueCollectionType(String valueCollectionType)
MultiMapConfig
setValueCollectionType
in class MultiMapConfig
valueCollectionType
- the collection type for the values of this MultiMap (SET or LIST)public MultiMapConfig setValueCollectionType(MultiMapConfig.ValueCollectionType valueCollectionType)
MultiMapConfig
setValueCollectionType
in class MultiMapConfig
valueCollectionType
- the collection type for the values of this MultiMap (SET or LIST)public MultiMapConfig addEntryListenerConfig(EntryListenerConfig listenerConfig)
MultiMapConfig
addEntryListenerConfig
in class MultiMapConfig
listenerConfig
- the entry listener to add to this MultiMappublic MultiMapConfig setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
MultiMapConfig
setEntryListenerConfigs
in class MultiMapConfig
listenerConfigs
- the list of entry listeners for this MultiMappublic MultiMapConfig setBinary(boolean binary)
MultiMapConfig
setBinary
in class MultiMapConfig
binary
- true
to set the MultiMap to binary (serialized) form, false
otherwisepublic MultiMapConfig setSyncBackupCount(int syncBackupCount)
setSyncBackupCount
in class MultiMapConfig
public MultiMapConfig setBackupCount(int backupCount)
MultiMapConfig
setBackupCount
in class MultiMapConfig
backupCount
- the number of synchronous backups to set for this MultiMapMultiMapConfig.setAsyncBackupCount(int)
public MultiMapConfig setAsyncBackupCount(int asyncBackupCount)
MultiMapConfig
setAsyncBackupCount
in class MultiMapConfig
asyncBackupCount
- the number of asynchronous synchronous backups to setMultiMapConfig.setBackupCount(int)
,
MultiMapConfig.getAsyncBackupCount()
public MultiMapConfig setStatisticsEnabled(boolean statisticsEnabled)
MultiMapConfig
setStatisticsEnabled
in class MultiMapConfig
statisticsEnabled
- true
to enable statistics for this MultiMap, false
to disablepublic MultiMapConfig setQuorumName(String quorumName)
MultiMapConfig
setQuorumName
in class MultiMapConfig
quorumName
- the quorum namepublic MultiMapConfig setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
MultiMapConfig
MergePolicyConfig
for this MultiMap.setMergePolicyConfig
in class MultiMapConfig
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.