com.hazelcast.impl.monitor
Class MemberStateImpl
java.lang.Object
com.hazelcast.impl.monitor.MemberStateImpl
- All Implemented Interfaces:
- MemberState, DataSerializable, Serializable
public class MemberStateImpl
- extends Object
- implements MemberState
- See Also:
- Serialized Form
MemberStateImpl
public MemberStateImpl()
writeData
public void writeData(DataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
readData
public void readData(DataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
clearPartitions
public void clearPartitions()
addPartition
public void addPartition(int partitionId)
getPartitions
public List<Integer> getPartitions()
- Specified by:
getPartitions
in interface MemberState
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getMemberHealthStats
public MemberHealthStatsImpl getMemberHealthStats()
- Specified by:
getMemberHealthStats
in interface MemberState
setRuntimeProps
public void setRuntimeProps(Map<String,Long> runtimeProps)
getRuntimeProps
public Map<String,Long> getRuntimeProps()
- Specified by:
getRuntimeProps
in interface MemberState
getLocalAtomicNumberStats
public LocalAtomicNumberStats getLocalAtomicNumberStats(String atomicLongName)
- Specified by:
getLocalAtomicNumberStats
in interface MemberState
getLocalCountDownLatchStats
public LocalCountDownLatchStats getLocalCountDownLatchStats(String countDownLatchName)
- Specified by:
getLocalCountDownLatchStats
in interface MemberState
getLocalMapStats
public LocalMapStats getLocalMapStats(String mapName)
- Specified by:
getLocalMapStats
in interface MemberState
getLocalQueueStats
public LocalQueueStats getLocalQueueStats(String queueName)
- Specified by:
getLocalQueueStats
in interface MemberState
getLocalSemaphoreStats
public LocalSemaphoreStats getLocalSemaphoreStats(String semaphoreName)
- Specified by:
getLocalSemaphoreStats
in interface MemberState
getLocalTopicStats
public LocalTopicStats getLocalTopicStats(String topicName)
- Specified by:
getLocalTopicStats
in interface MemberState
getAddress
public Address getAddress()
- Specified by:
getAddress
in interface MemberState
setAddress
public void setAddress(Address address)
putLocalAtomicNumberStats
public void putLocalAtomicNumberStats(String name,
LocalAtomicNumberStatsImpl localAtomicLongStats)
putLocalCountDownLatchStats
public void putLocalCountDownLatchStats(String name,
LocalCountDownLatchStatsImpl localCountDownLatchStats)
putLocalMapStats
public void putLocalMapStats(String name,
LocalMapStatsImpl localMapStats)
putLocalQueueStats
public void putLocalQueueStats(String name,
LocalQueueStatsImpl localQueueStats)
putLocalSemaphoreStats
public void putLocalSemaphoreStats(String name,
LocalSemaphoreStatsImpl localSemaphoreStats)
putLocalTopicStats
public void putLocalTopicStats(String name,
LocalTopicStatsImpl localTopicStats)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.