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()
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 objectCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.