public class WanPublisherConfigDTO extends Object implements JsonSerializable
WanPublisherConfig
.Constructor and Description |
---|
WanPublisherConfigDTO() |
WanPublisherConfigDTO(WanPublisherConfig 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. |
WanPublisherConfig |
getConfig() |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject . |
public WanPublisherConfigDTO()
public WanPublisherConfigDTO(WanPublisherConfig config)
public JsonObject toJson()
JsonSerializable
JsonObject
.toJson
in interface JsonSerializable
public void fromJson(JsonObject json)
JsonSerializable
json
object and mutates the
state of this object.fromJson
in interface JsonSerializable
json
- the JSON object carrying state for this objectpublic WanPublisherConfig getConfig()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.