com.hazelcast.config

## Class QueueStoreConfig

- java.lang.Object
- - com.hazelcast.config.QueueStoreConfig

- All Implemented Interfaces:
    DataSerializable, IdentifiedDataSerializable
  Direct Known Subclasses:
    QueueStoreConfigReadOnly

      public class QueueStoreConfig
      extends Object
      implements IdentifiedDataSerializable

  Configuration for the `QueueStore`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueueStoreConfig()`
    `QueueStoreConfig(QueueStoreConfig config)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `QueueStoreConfigReadOnly` | `getAsReadOnly()` Deprecated. this method will be removed in 4.0; it is meant for internal usage only
    `String` | `getClassName()`
    `String` | `getFactoryClassName()`
    `int` | `getFactoryId()` Returns DataSerializableFactory factory ID for this class.
    `QueueStoreFactory` | `getFactoryImplementation()`
    `int` | `getId()` Returns type identifier for this class.
    `Properties` | `getProperties()`
    `String` | `getProperty(String name)`
    `QueueStore` | `getStoreImplementation()`
    `int` | `hashCode()`
    `boolean` | `isEnabled()`
    `void` | `readData(ObjectDataInput in)` Reads fields from the input stream
    `QueueStoreConfig` | `setClassName(String className)`
    `QueueStoreConfig` | `setEnabled(boolean enabled)`
    `QueueStoreConfig` | `setFactoryClassName(String factoryClassName)`
    `QueueStoreConfig` | `setFactoryImplementation(QueueStoreFactory factoryImplementation)`
    `QueueStoreConfig` | `setProperties(Properties properties)`
    `QueueStoreConfig` | `setProperty(String name, String value)`
    `QueueStoreConfig` | `setStoreImplementation(QueueStore storeImplementation)`
    `String` | `toString()`
    `void` | `writeData(ObjectDataOutput out)` Writes object fields to output stream

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

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

- - ### Constructor Detail

    - #### QueueStoreConfig

          public QueueStoreConfig()

    - #### QueueStoreConfig

          public QueueStoreConfig(QueueStoreConfig config)

  - ### Method Detail

    - #### getStoreImplementation

          public QueueStore getStoreImplementation()

    - #### setStoreImplementation

          public QueueStoreConfig setStoreImplementation(QueueStore storeImplementation)

    - #### getAsReadOnly

          public QueueStoreConfigReadOnly getAsReadOnly()

      Deprecated. this method will be removed in 4.0; it is meant for internal usage only
      Gets immutable version of this configuration.
      Returns:
        immutable version of this configuration

    - #### isEnabled

          public boolean isEnabled()

    - #### setEnabled

          public QueueStoreConfig setEnabled(boolean enabled)

    - #### getClassName

          public String getClassName()

    - #### setClassName

          public QueueStoreConfig setClassName(String className)

    - #### getProperties

          public Properties getProperties()

    - #### setProperties

          public QueueStoreConfig setProperties(Properties properties)

    - #### getProperty

          public String getProperty(String name)

    - #### setProperty

          public QueueStoreConfig setProperty(String name,
                                              String value)

    - #### getFactoryClassName

          public String getFactoryClassName()

    - #### setFactoryClassName

          public QueueStoreConfig setFactoryClassName(String factoryClassName)

    - #### getFactoryImplementation

          public QueueStoreFactory getFactoryImplementation()

    - #### setFactoryImplementation

          public QueueStoreConfig setFactoryImplementation(QueueStoreFactory factoryImplementation)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getFactoryId

          public int getFactoryId()

      Description copied from interface: `IdentifiedDataSerializable`
      Returns DataSerializableFactory factory ID for this class.
      Specified by:
        `getFactoryId` in interface `IdentifiedDataSerializable`
      Returns:
        factory ID

    - #### getId

          public int getId()

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

    - #### writeData

          public void writeData(ObjectDataOutput out)
                         throws IOException

      Description copied from interface: `DataSerializable`
      Writes object fields to output stream
      Specified by:
        `writeData` in interface `DataSerializable`
      Parameters:
        `out` - output
      Throws:
        `IOException` - if an I/O error occurs. In particular, an `IOException` may be thrown if the output stream has been closed.

    - #### readData

          public void readData(ObjectDataInput in)
                        throws IOException

      Description copied from interface: `DataSerializable`
      Reads fields from the input stream
      Specified by:
        `readData` in interface `DataSerializable`
      Parameters:
        `in` - input
      Throws:
        `IOException` - if an I/O error occurs. In particular, an `IOException` may be thrown if the input stream has been closed.

    - #### equals

          public final boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public final int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2019. All rights reserved.