com.hazelcast.config

## Class DiscoveryStrategyConfig

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

-     public class DiscoveryStrategyConfig
      extends Object

  This configuration class describes a `DiscoveryStrategy` based on a parsed XML or configured manually using the config API

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DiscoveryStrategyConfig(DiscoveryStrategyFactory discoveryStrategyFactory)`
    `DiscoveryStrategyConfig(DiscoveryStrategyFactory discoveryStrategyFactory, Map<String,Comparable> properties)`
    `DiscoveryStrategyConfig(String className)`
    `DiscoveryStrategyConfig(String className, Map<String,Comparable> properties)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addProperty(String key, Comparable value)`
    `String` | `getClassName()`
    `DiscoveryStrategyFactory` | `getDiscoveryStrategyFactory()`
    `Map<String,Comparable>` | `getProperties()`
    `void` | `removeProperty(String key)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### DiscoveryStrategyConfig

          public DiscoveryStrategyConfig(String className)

    - #### DiscoveryStrategyConfig

          public DiscoveryStrategyConfig(String className,
                                         Map<String,Comparable> properties)

    - #### DiscoveryStrategyConfig

          public DiscoveryStrategyConfig(DiscoveryStrategyFactory discoveryStrategyFactory)

    - #### DiscoveryStrategyConfig

          public DiscoveryStrategyConfig(DiscoveryStrategyFactory discoveryStrategyFactory,
                                         Map<String,Comparable> properties)

  - ### Method Detail

    - #### getClassName

          public String getClassName()

    - #### getDiscoveryStrategyFactory

          public DiscoveryStrategyFactory getDiscoveryStrategyFactory()

    - #### addProperty

          public void addProperty(String key,
                                  Comparable value)

    - #### removeProperty

          public void removeProperty(String key)

    - #### getProperties

          public Map<String,Comparable> getProperties()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2018. All rights reserved.