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) |
Modifier and Type | Method and Description |
---|---|
void |
addItemListenerConfig(ItemListenerConfig itemListenerConfig) |
List<ItemListenerConfig> |
getItemListenerConfigs() |
ListConfig |
setAsyncBackupCount(int asyncBackupCount) |
ListConfig |
setBackupCount(int backupCount) |
ListConfig |
setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs) |
ListConfig |
setMaxSize(int maxSize) |
ListConfig |
setName(String name) |
ListConfig |
setStatisticsEnabled(boolean statisticsEnabled) |
getAsReadOnly
getAsyncBackupCount, getBackupCount, getMaxSize, getName, getTotalBackupCount, isStatisticsEnabled
public ListConfigReadOnly(ListConfig config)
public List<ItemListenerConfig> getItemListenerConfigs()
getItemListenerConfigs
in class CollectionConfig<ListConfig>
public ListConfig setName(String name)
setName
in class CollectionConfig<ListConfig>
public ListConfig setItemListenerConfigs(List<ItemListenerConfig> listenerConfigs)
setItemListenerConfigs
in class CollectionConfig<ListConfig>
public ListConfig setBackupCount(int backupCount)
setBackupCount
in class CollectionConfig<ListConfig>
public ListConfig setAsyncBackupCount(int asyncBackupCount)
setAsyncBackupCount
in class CollectionConfig<ListConfig>
public ListConfig setMaxSize(int maxSize)
setMaxSize
in class CollectionConfig<ListConfig>
public ListConfig setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled
in class CollectionConfig<ListConfig>
public void addItemListenerConfig(ItemListenerConfig itemListenerConfig)
addItemListenerConfig
in class CollectionConfig<ListConfig>
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.