public class MemberStateImpl extends Object implements MemberState
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PARTITION_COUNT |
Constructor and Description |
---|
MemberStateImpl() |
public static final int DEFAULT_PARTITION_COUNT
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
public void clearPartitions()
public void addPartition(int partitionId)
public List<Integer> getPartitions()
getPartitions
in interface MemberState
public Map<String,Long> getRuntimeProps()
getRuntimeProps
in interface MemberState
public LocalMapStats getLocalMapStats(String mapName)
getLocalMapStats
in interface MemberState
public LocalMultiMapStats getLocalMultiMapStats(String mapName)
getLocalMultiMapStats
in interface MemberState
public LocalQueueStats getLocalQueueStats(String queueName)
getLocalQueueStats
in interface MemberState
public LocalTopicStats getLocalTopicStats(String topicName)
getLocalTopicStats
in interface MemberState
public LocalExecutorStats getLocalExecutorStats(String executorName)
getLocalExecutorStats
in interface MemberState
public LocalCacheStats getLocalCacheStats(String cacheName)
getLocalCacheStats
in interface MemberState
public String getAddress()
getAddress
in interface MemberState
public void setAddress(String address)
public void putLocalMapStats(String name, LocalMapStatsImpl localMapStats)
public void putLocalMultiMapStats(String name, LocalMultiMapStatsImpl localMultiMapStats)
public void putLocalQueueStats(String name, LocalQueueStatsImpl localQueueStats)
public void putLocalTopicStats(String name, LocalTopicStatsImpl localTopicStats)
public void putLocalExecutorStats(String name, LocalExecutorStatsImpl localExecutorStats)
public void putLocalCacheStats(String name, LocalCacheStats localCacheStats)
public Collection<SerializableClientEndPoint> getClients()
getClients
in interface MemberState
public SerializableMXBeans getMXBeans()
getMXBeans
in interface MemberState
public void setBeans(SerializableMXBeans beans)
public void setClients(Collection<SerializableClientEndPoint> clients)
public LocalMemoryStats getLocalMemoryStats()
getLocalMemoryStats
in interface MemberState
public void setLocalMemoryStats(LocalMemoryStats memoryStats)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.