com.hazelcast.management
Class SerializablePartitionServiceBean

java.lang.Object
  extended by com.hazelcast.management.SerializablePartitionServiceBean
All Implemented Interfaces:
JsonSerializable

public class SerializablePartitionServiceBean
extends Object
implements JsonSerializable

A Serializable DTO for PartitionServiceMBean.


Constructor Summary
SerializablePartitionServiceBean()
           
SerializablePartitionServiceBean(InternalPartitionService partitionService, HazelcastInstanceImpl hazelcastInstance)
           
 
Method Summary
 void fromJson(com.eclipsesource.json.JsonObject json)
           
 int getActivePartitionCount()
           
 int getPartitionCount()
           
 void setActivePartitionCount(int activePartitionCount)
           
 void setPartitionCount(int partitionCount)
           
 com.eclipsesource.json.JsonObject toJson()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializablePartitionServiceBean

public SerializablePartitionServiceBean()

SerializablePartitionServiceBean

public SerializablePartitionServiceBean(InternalPartitionService partitionService,
                                        HazelcastInstanceImpl hazelcastInstance)
Method Detail

getPartitionCount

public int getPartitionCount()

setPartitionCount

public void setPartitionCount(int partitionCount)

getActivePartitionCount

public int getActivePartitionCount()

setActivePartitionCount

public void setActivePartitionCount(int activePartitionCount)

toJson

public com.eclipsesource.json.JsonObject toJson()
Specified by:
toJson in interface JsonSerializable

fromJson

public void fromJson(com.eclipsesource.json.JsonObject json)
Specified by:
fromJson in interface JsonSerializable


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.