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 |
setName(String name)
Deprecated.
Sets the name of this MultiMap.
|
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.
|
getAsReadOnly, getAsyncBackupCount, getBackupCount, getName, getSyncBackupCount, getTotalBackupCount, getValueCollectionType, isBinary, isStatisticsEnabled, toString
public MultiMapConfigReadOnly(MultiMapConfig defConfig)
public List<EntryListenerConfig> getEntryListenerConfigs()
MultiMapConfig
getEntryListenerConfigs
in class MultiMapConfig
public MultiMapConfig setName(String name)
MultiMapConfig
setName
in class MultiMapConfig
name
- The name to set for this MultiMap.public 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 MultiMap.public MultiMapConfig setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
MultiMapConfig
setEntryListenerConfigs
in class MultiMapConfig
listenerConfigs
- The list of entry listeners for this MultiMap.public MultiMapConfig setBinary(boolean binary)
MultiMapConfig
setBinary
in class MultiMapConfig
binary
- True to set the MultiMap to binary (serialized) form, false otherwise.public 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 disable.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.