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) |
| Modifier and Type | Method and Description |
|---|---|
MultiMapConfig |
addEntryListenerConfig(EntryListenerConfig listenerConfig)
Adds an entry listener to this MultiMap (listens for when entries are added or removed).
|
List<EntryListenerConfig> |
getEntryListenerConfigs()
Gets the list of entry listeners (listens for when entries are added or removed) for this MultiMap.
|
MultiMapConfig |
setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups.
|
MultiMapConfig |
setBackupCount(int backupCount)
Sets the number of synchronous backups.
|
MultiMapConfig |
setBinary(boolean binary)
Enables or disables binary (serialized) form for this MultiMap.
|
MultiMapConfig |
setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
Sets the list of entry listeners (listens for when entries are added or removed) for this MultiMap.
|
MultiMapConfig |
setName(String name)
Sets the name of this MultiMap.
|
MultiMapConfig |
setStatisticsEnabled(boolean statisticsEnabled)
Enables or disables statistics for this MultiMap.
|
MultiMapConfig |
setSyncBackupCount(int syncBackupCount) |
MultiMapConfig |
setValueCollectionType(MultiMapConfig.ValueCollectionType valueCollectionType)
Sets the collection type for the values of this MultiMap.
|
MultiMapConfig |
setValueCollectionType(String valueCollectionType)
Sets the collection type for the values of this MultiMap.
|
getAsReadOnly, getAsyncBackupCount, getBackupCount, getName, getSyncBackupCount, getTotalBackupCount, getValueCollectionType, isBinary, isStatisticsEnabled, toStringpublic MultiMapConfigReadOnly(MultiMapConfig defConfig)
public List<EntryListenerConfig> getEntryListenerConfigs()
MultiMapConfiggetEntryListenerConfigs in class MultiMapConfigpublic MultiMapConfig setName(String name)
MultiMapConfigsetName in class MultiMapConfigname - The name to set for this MultiMap.public 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 MultiMap.public MultiMapConfig setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
MultiMapConfigsetEntryListenerConfigs in class MultiMapConfiglistenerConfigs - The list of entry listeners for this MultiMap.public MultiMapConfig setBinary(boolean binary)
MultiMapConfigsetBinary in class MultiMapConfigbinary - True to set the MultiMap to binary (serialized) form, false otherwise.public 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 disable.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.