public class DiscoveryStrategyConfigDTO extends Object implements JsonSerializable
DiscoveryStrategyConfig.| Constructor and Description |
|---|
DiscoveryStrategyConfigDTO() |
DiscoveryStrategyConfigDTO(DiscoveryStrategyConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
DiscoveryStrategyConfig |
getConfig() |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject. |
public DiscoveryStrategyConfigDTO()
public DiscoveryStrategyConfigDTO(DiscoveryStrategyConfig config)
public JsonObject toJson()
JsonSerializableJsonObject.toJson in interface JsonSerializablepublic void fromJson(JsonObject json)
JsonSerializablejson object and mutates the
state of this object.fromJson in interface JsonSerializablejson - the JSON object carrying state for this objectpublic DiscoveryStrategyConfig getConfig()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.