public class MapConfigDTO extends Object implements JsonSerializable, IdentifiedDataSerializable
MapConfig| Constructor and Description |
|---|
MapConfigDTO() |
MapConfigDTO(MapConfig mapConfig) |
| 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. |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
MapConfig |
getMapConfig() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject. |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public MapConfigDTO()
public MapConfigDTO(MapConfig mapConfig)
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 void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public MapConfig getMapConfig()
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.