com.hazelcast.config
Class CollectionConfig<T extends CollectionConfig>
java.lang.Object
com.hazelcast.config.CollectionConfig<T>
- Type Parameters:
T
- Type of Collection such as List, Set
- Direct Known Subclasses:
- ListConfig, SetConfig
public abstract class CollectionConfig<T extends CollectionConfig>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAX_SIZE
public static final int DEFAULT_MAX_SIZE
- Maximum size Configuration
- See Also:
- Constant Field Values
DEFAULT_SYNC_BACKUP_COUNT
public static final int DEFAULT_SYNC_BACKUP_COUNT
- Synchronous Backup Counter
- See Also:
- Constant Field Values
DEFAULT_ASYNC_BACKUP_COUNT
public static final int DEFAULT_ASYNC_BACKUP_COUNT
- Asynchronous Backup Counter
- See Also:
- Constant Field Values
CollectionConfig
protected CollectionConfig()
CollectionConfig
protected CollectionConfig(CollectionConfig config)
getAsReadOnly
public abstract T getAsReadOnly()
getName
public String getName()
setName
public T setName(String name)
getItemListenerConfigs
public List<ItemListenerConfig> getItemListenerConfigs()
setItemListenerConfigs
public T setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
getTotalBackupCount
public int getTotalBackupCount()
getBackupCount
public int getBackupCount()
setBackupCount
public T setBackupCount(int backupCount)
getAsyncBackupCount
public int getAsyncBackupCount()
setAsyncBackupCount
public T setAsyncBackupCount(int asyncBackupCount)
getMaxSize
public int getMaxSize()
setMaxSize
public T setMaxSize(int maxSize)
isStatisticsEnabled
public boolean isStatisticsEnabled()
setStatisticsEnabled
public T setStatisticsEnabled(boolean statisticsEnabled)
addItemListenerConfig
public void addItemListenerConfig(ItemListenerConfig itemListenerConfig)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.