com.hazelcast.config

## Class ListConfig

- java.lang.Object
- - com.hazelcast.config.CollectionConfig<ListConfig>
  - - com.hazelcast.config.ListConfig

- All Implemented Interfaces:
    NamedConfig, DataSerializable, IdentifiedDataSerializable, com.hazelcast.nio.serialization.impl.Versioned, SplitBrainMergeTypeProvider
  Direct Known Subclasses:
    ListConfigReadOnly

      public class ListConfig
      extends CollectionConfig<ListConfig>

  Contains the configuration for an `IList`.

- - ### Field Summary

    - ### Fields inherited from class com.hazelcast.config.CollectionConfig

      `DEFAULT_ASYNC_BACKUP_COUNT, DEFAULT_MAX_SIZE, DEFAULT_SYNC_BACKUP_COUNT`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ListConfig()`
    `ListConfig(ListConfig config)`
    `ListConfig(String name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `ListConfig` | `getAsReadOnly()` Deprecated. this method will be removed in 4.0; it is meant for internal usage only
    `int` | `getId()` Returns type identifier for this class.
    `String` | `toString()`

    - ### Methods inherited from class com.hazelcast.config.CollectionConfig

      `addItemListenerConfig, equals, fieldsToString, getAsyncBackupCount, getBackupCount, getFactoryId, getItemListenerConfigs, getMaxSize, getMergePolicyConfig, getName, getProvidedMergeTypes, getQuorumName, getTotalBackupCount, hashCode, isStatisticsEnabled, readData, setAsyncBackupCount, setBackupCount, setItemListenerConfigs, setMaxSize, setMergePolicyConfig, setName, setQuorumName, setStatisticsEnabled, writeData`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ListConfig

          public ListConfig()

    - #### ListConfig

          public ListConfig(String name)

    - #### ListConfig

          public ListConfig(ListConfig config)

  - ### Method Detail

    - #### getAsReadOnly

          public ListConfig getAsReadOnly()

      Deprecated. this method will be removed in 4.0; it is meant for internal usage only
      Gets immutable version of this configuration.
      Specified by:
        `getAsReadOnly` in class `CollectionConfig<ListConfig>`
      Returns:
        immutable version of this configuration

    - #### getId

          public int getId()

      Description copied from interface: `IdentifiedDataSerializable`
      Returns type identifier for this class. It should be unique per DataSerializableFactory.
      Returns:
        type ID

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019. All rights reserved.