Package com.hazelcast.config
Class DiscoveryStrategyConfig
java.lang.Object
com.hazelcast.config.DiscoveryStrategyConfig
This configuration class describes a
DiscoveryStrategy
based on a parsed XML or configured manually using the config API-
Constructor Summary
ConstructorDescriptionDiscoveryStrategyConfig
(DiscoveryStrategyFactory discoveryStrategyFactory) DiscoveryStrategyConfig
(DiscoveryStrategyFactory discoveryStrategyFactory, Map<String, Comparable> properties) DiscoveryStrategyConfig
(String className) DiscoveryStrategyConfig
(String className, Map<String, Comparable> properties) -
Method Summary
Modifier and TypeMethodDescriptionaddProperty
(String key, Comparable value) boolean
int
hashCode()
removeProperty
(String key) setClassName
(String className) setDiscoveryStrategyFactory
(DiscoveryStrategyFactory discoveryStrategyFactory) setProperties
(Map<String, Comparable> properties) toString()
-
Constructor Details
-
DiscoveryStrategyConfig
public DiscoveryStrategyConfig() -
DiscoveryStrategyConfig
-
DiscoveryStrategyConfig
-
DiscoveryStrategyConfig
-
DiscoveryStrategyConfig
public DiscoveryStrategyConfig(DiscoveryStrategyFactory discoveryStrategyFactory, Map<String, Comparable> properties) -
DiscoveryStrategyConfig
-
-
Method Details
-
getClassName
-
setClassName
-
setDiscoveryStrategyFactory
public DiscoveryStrategyConfig setDiscoveryStrategyFactory(@Nonnull DiscoveryStrategyFactory discoveryStrategyFactory) -
getDiscoveryStrategyFactory
-
addProperty
-
removeProperty
-
setProperties
-
getProperties
-
toString
-
equals
-
hashCode
public int hashCode()
-