|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.config.MultiMapConfig
public class MultiMapConfig
Configuration for Multi-map.
Nested Class Summary | |
---|---|
static class |
MultiMapConfig.ValueCollectionType
Type of value collection |
Field Summary | |
---|---|
static int |
DEFAULT_ASYNC_BACKUP_COUNT
The number of default asynchronous backup count |
static int |
DEFAULT_SYNC_BACKUP_COUNT
The number of default synchronous backup count |
static MultiMapConfig.ValueCollectionType |
DEFAULT_VALUE_COLLECTION_TYPE
Default value collection type of multi-map. |
Constructor Summary | |
---|---|
MultiMapConfig()
|
|
MultiMapConfig(MultiMapConfig defConfig)
|
|
MultiMapConfig(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_SYNC_BACKUP_COUNT
public static final int DEFAULT_ASYNC_BACKUP_COUNT
public static final MultiMapConfig.ValueCollectionType DEFAULT_VALUE_COLLECTION_TYPE
Constructor Detail |
---|
public MultiMapConfig()
public MultiMapConfig(String name)
public MultiMapConfig(MultiMapConfig defConfig)
Method Detail |
---|
public MultiMapConfigReadOnly getAsReadOnly()
public String getName()
public MultiMapConfig setName(String name)
public MultiMapConfig.ValueCollectionType getValueCollectionType()
public MultiMapConfig setValueCollectionType(String valueCollectionType)
public MultiMapConfig setValueCollectionType(MultiMapConfig.ValueCollectionType valueCollectionType)
public MultiMapConfig addEntryListenerConfig(EntryListenerConfig listenerConfig)
public List<EntryListenerConfig> getEntryListenerConfigs()
public MultiMapConfig setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
public boolean isBinary()
public MultiMapConfig setBinary(boolean binary)
@Deprecated public int getSyncBackupCount()
@Deprecated public MultiMapConfig setSyncBackupCount(int syncBackupCount)
public int getBackupCount()
public MultiMapConfig setBackupCount(int backupCount)
backupCount
- the number of synchronous backups to set
IllegalArgumentException
- if backupCount smaller than 0,
or larger than the maximum number of backup
or the sum of the backups and async backups is larger than the maximum number of backupssetAsyncBackupCount(int)
public int getAsyncBackupCount()
public MultiMapConfig setAsyncBackupCount(int asyncBackupCount)
asyncBackupCount
- the number of asynchronous synchronous backups to set
IllegalArgumentException
- if asyncBackupCount smaller than 0,
or larger than the maximum number of backup
or the sum of the backups and async backups is larger than the maximum number of backupssetBackupCount(int)
,
getAsyncBackupCount()
public int getTotalBackupCount()
public boolean isStatisticsEnabled()
public MultiMapConfig setStatisticsEnabled(boolean statisticsEnabled)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |