public class PartitionServiceBeanDTO extends Object implements JsonSerializable
PartitionServiceMBean.| Constructor and Description |
|---|
PartitionServiceBeanDTO() |
PartitionServiceBeanDTO(InternalPartitionService partitionService,
HazelcastInstanceImpl hazelcastInstance) |
| 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 |
getActivePartitionCount() |
int |
getPartitionCount() |
void |
setActivePartitionCount(int activePartitionCount) |
void |
setPartitionCount(int partitionCount) |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject. |
public PartitionServiceBeanDTO()
public PartitionServiceBeanDTO(InternalPartitionService partitionService, HazelcastInstanceImpl hazelcastInstance)
public int getPartitionCount()
public void setPartitionCount(int partitionCount)
public int getActivePartitionCount()
public void setActivePartitionCount(int activePartitionCount)
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 objectCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.