public class ListConfigReadOnly extends ListConfig
IList (read-only).DEFAULT_ASYNC_BACKUP_COUNT, DEFAULT_MAX_SIZE, DEFAULT_SYNC_BACKUP_COUNT| Constructor and Description | 
|---|
ListConfigReadOnly(ListConfig config)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addItemListenerConfig(ItemListenerConfig itemListenerConfig)
Deprecated.  
Adds an item listener to this collection (listens for when items are added or removed). 
 | 
List<ItemListenerConfig> | 
getItemListenerConfigs()
Deprecated.  
Gets the list of ItemListenerConfigs. 
 | 
ListConfig | 
setAsyncBackupCount(int asyncBackupCount)
Deprecated.  
Sets the number of asynchronous backups. 
 | 
ListConfig | 
setBackupCount(int backupCount)
Deprecated.  
Sets the number of synchronous backups for this collection. 
 | 
ListConfig | 
setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
Deprecated.  
Sets the list of ItemListenerConfigs. 
 | 
ListConfig | 
setMaxSize(int maxSize)
Deprecated.  
Sets the maximum size for the collection. 
 | 
ListConfig | 
setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Deprecated.  
Sets the  
MergePolicyConfig for the collection. | 
ListConfig | 
setName(String name)
Deprecated.  
Sets the name of this collection. 
 | 
ListConfig | 
setQuorumName(String quorumName)
Deprecated.  
Sets the quorum name for operations. 
 | 
ListConfig | 
setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.  
Sets collection statistics to enabled or disabled. 
 | 
getAsReadOnly, getId, toStringequals, fieldsToString, getAsyncBackupCount, getBackupCount, getFactoryId, getMaxSize, getMergePolicyConfig, getName, getProvidedMergeTypes, getQuorumName, getTotalBackupCount, hashCode, isStatisticsEnabled, readData, writeDatapublic ListConfigReadOnly(ListConfig config)
public List<ItemListenerConfig> getItemListenerConfigs()
CollectionConfiggetItemListenerConfigs in class CollectionConfig<ListConfig>public ListConfig setName(String name)
CollectionConfigsetName in class CollectionConfig<ListConfig>name - the name of this collectionpublic ListConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
CollectionConfigsetItemListenerConfigs in class CollectionConfig<ListConfig>listenerConfigs - the list of ItemListenerConfigs to setpublic ListConfig setBackupCount(int backupCount)
CollectionConfigsetBackupCount in class CollectionConfig<ListConfig>backupCount - the number of synchronous backups to set for this collectionCollectionConfig.setAsyncBackupCount(int)public ListConfig setAsyncBackupCount(int asyncBackupCount)
CollectionConfigsetAsyncBackupCount in class CollectionConfig<ListConfig>asyncBackupCount - the number of asynchronous synchronous backups to setCollectionConfig.setBackupCount(int), 
CollectionConfig.getAsyncBackupCount()public ListConfig setMaxSize(int maxSize)
CollectionConfigsetMaxSize in class CollectionConfig<ListConfig>public ListConfig setStatisticsEnabled(boolean statisticsEnabled)
CollectionConfigsetStatisticsEnabled in class CollectionConfig<ListConfig>statisticsEnabled - true to enable collection statistics, false to disablepublic ListConfig setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
CollectionConfigMergePolicyConfig for the collection.setMergePolicyConfig in class CollectionConfig<ListConfig>public void addItemListenerConfig(ItemListenerConfig itemListenerConfig)
CollectionConfigaddItemListenerConfig in class CollectionConfig<ListConfig>itemListenerConfig - the item listener to add to this collectionpublic ListConfig setQuorumName(String quorumName)
CollectionConfigsetQuorumName in class CollectionConfig<ListConfig>quorumName - the quorum nameCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.