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 void writeData(ObjectDataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(ObjectDataInput in) throws IOException
readData
in interface DataSerializable
IOException
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 Address getAddress()
getAddress
in interface MemberState
public void setAddress(Address 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)
Copyright © 2014 Hazelcast, Inc.. All rights reserved.