T - Type of Collection such as List, Setpublic abstract class CollectionConfig<T extends CollectionConfig> extends Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
DEFAULT_ASYNC_BACKUP_COUNT
Asynchronous Backup Counter 
 | 
static int | 
DEFAULT_MAX_SIZE
Maximum size Configuration 
 | 
static int | 
DEFAULT_SYNC_BACKUP_COUNT
Synchronous Backup Counter 
 | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
CollectionConfig()  | 
protected  | 
CollectionConfig(CollectionConfig config)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addItemListenerConfig(ItemListenerConfig itemListenerConfig)  | 
abstract T | 
getAsReadOnly()  | 
int | 
getAsyncBackupCount()  | 
int | 
getBackupCount()  | 
List<ItemListenerConfig> | 
getItemListenerConfigs()  | 
int | 
getMaxSize()  | 
String | 
getName()  | 
int | 
getTotalBackupCount()  | 
boolean | 
isStatisticsEnabled()  | 
T | 
setAsyncBackupCount(int asyncBackupCount)  | 
T | 
setBackupCount(int backupCount)  | 
T | 
setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)  | 
T | 
setMaxSize(int maxSize)  | 
T | 
setName(String name)  | 
T | 
setStatisticsEnabled(boolean statisticsEnabled)  | 
public static final int DEFAULT_MAX_SIZE
public static final int DEFAULT_SYNC_BACKUP_COUNT
public static final int DEFAULT_ASYNC_BACKUP_COUNT
protected CollectionConfig()
protected CollectionConfig(CollectionConfig config)
public abstract T getAsReadOnly()
public String getName()
public List<ItemListenerConfig> getItemListenerConfigs()
public T setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
public int getTotalBackupCount()
public int getBackupCount()
public T setBackupCount(int backupCount)
public int getAsyncBackupCount()
public T setAsyncBackupCount(int asyncBackupCount)
public int getMaxSize()
public T setMaxSize(int maxSize)
public boolean isStatisticsEnabled()
public T setStatisticsEnabled(boolean statisticsEnabled)
public void addItemListenerConfig(ItemListenerConfig itemListenerConfig)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.