com.hazelcast.config
Class MultiMapConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.MultiMapConfig
      extended by com.hazelcast.config.MultiMapConfigReadOnly

public class MultiMapConfigReadOnly
extends MultiMapConfig

Contains the configuration for an MultiMap.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.hazelcast.config.MultiMapConfig
MultiMapConfig.ValueCollectionType
 
Field Summary
 
Fields inherited from class com.hazelcast.config.MultiMapConfig
DEFAULT_ASYNC_BACKUP_COUNT, DEFAULT_SYNC_BACKUP_COUNT, DEFAULT_VALUE_COLLECTION_TYPE
 
Constructor Summary
MultiMapConfigReadOnly(MultiMapConfig defConfig)
           
 
Method Summary
 MultiMapConfig addEntryListenerConfig(EntryListenerConfig listenerConfig)
           
 List<EntryListenerConfig> getEntryListenerConfigs()
           
 MultiMapConfig setAsyncBackupCount(int asyncBackupCount)
          Sets the number of asynchronous backups.
 MultiMapConfig setBackupCount(int backupCount)
          Sets the number of synchronous backups.
 MultiMapConfig setBinary(boolean binary)
           
 MultiMapConfig setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
           
 MultiMapConfig setName(String name)
           
 MultiMapConfig setStatisticsEnabled(boolean statisticsEnabled)
           
 MultiMapConfig setSyncBackupCount(int syncBackupCount)
           
 MultiMapConfig setValueCollectionType(MultiMapConfig.ValueCollectionType valueCollectionType)
           
 MultiMapConfig setValueCollectionType(String valueCollectionType)
           
 
Methods inherited from class com.hazelcast.config.MultiMapConfig
getAsReadOnly, getAsyncBackupCount, getBackupCount, getName, getSyncBackupCount, getTotalBackupCount, getValueCollectionType, isBinary, isStatisticsEnabled, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiMapConfigReadOnly

public MultiMapConfigReadOnly(MultiMapConfig defConfig)
Method Detail

getEntryListenerConfigs

public List<EntryListenerConfig> getEntryListenerConfigs()
Overrides:
getEntryListenerConfigs in class MultiMapConfig

setName

public MultiMapConfig setName(String name)
Overrides:
setName in class MultiMapConfig

setValueCollectionType

public MultiMapConfig setValueCollectionType(String valueCollectionType)
Overrides:
setValueCollectionType in class MultiMapConfig

setValueCollectionType

public MultiMapConfig setValueCollectionType(MultiMapConfig.ValueCollectionType valueCollectionType)
Overrides:
setValueCollectionType in class MultiMapConfig

addEntryListenerConfig

public MultiMapConfig addEntryListenerConfig(EntryListenerConfig listenerConfig)
Overrides:
addEntryListenerConfig in class MultiMapConfig

setEntryListenerConfigs

public MultiMapConfig setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
Overrides:
setEntryListenerConfigs in class MultiMapConfig

setBinary

public MultiMapConfig setBinary(boolean binary)
Overrides:
setBinary in class MultiMapConfig

setSyncBackupCount

public MultiMapConfig setSyncBackupCount(int syncBackupCount)
Overrides:
setSyncBackupCount in class MultiMapConfig

setBackupCount

public MultiMapConfig setBackupCount(int backupCount)
Description copied from class: MultiMapConfig
Sets the number of synchronous backups.

Overrides:
setBackupCount in class MultiMapConfig
Parameters:
backupCount - the number of synchronous backups to set
Returns:
the current MultiMapConfig
See Also:
MultiMapConfig.setAsyncBackupCount(int)

setAsyncBackupCount

public MultiMapConfig setAsyncBackupCount(int asyncBackupCount)
Description copied from class: MultiMapConfig
Sets the number of asynchronous backups. 0 means no backups

Overrides:
setAsyncBackupCount in class MultiMapConfig
Parameters:
asyncBackupCount - the number of asynchronous synchronous backups to set
Returns:
the updated MultiMapConfig
See Also:
MultiMapConfig.setBackupCount(int), MultiMapConfig.getAsyncBackupCount()

setStatisticsEnabled

public MultiMapConfig setStatisticsEnabled(boolean statisticsEnabled)
Overrides:
setStatisticsEnabled in class MultiMapConfig


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.