com.hazelcast.impl.monitor
Class MemberStateImpl

java.lang.Object
  extended by com.hazelcast.impl.monitor.MemberStateImpl
All Implemented Interfaces:
MemberState, DataSerializable, Serializable

public class MemberStateImpl
extends Object
implements MemberState

See Also:
Serialized Form

Constructor Summary
MemberStateImpl()
           
 
Method Summary
 void addPartition(int partitionId)
           
 void clearPartitions()
           
 Address getAddress()
           
 LocalAtomicNumberStats getLocalAtomicNumberStats(String atomicLongName)
           
 LocalCountDownLatchStats getLocalCountDownLatchStats(String countDownLatchName)
           
 LocalMapStats getLocalMapStats(String mapName)
           
 LocalQueueStats getLocalQueueStats(String queueName)
           
 LocalSemaphoreStats getLocalSemaphoreStats(String semaphoreName)
           
 LocalTopicStats getLocalTopicStats(String topicName)
           
 MemberHealthStatsImpl getMemberHealthStats()
           
 List<Integer> getPartitions()
           
 Map<String,Long> getRuntimeProps()
           
 int hashCode()
           
 void putLocalAtomicNumberStats(String name, LocalAtomicNumberStatsImpl localAtomicLongStats)
           
 void putLocalCountDownLatchStats(String name, LocalCountDownLatchStatsImpl localCountDownLatchStats)
           
 void putLocalMapStats(String name, LocalMapStatsImpl localMapStats)
           
 void putLocalQueueStats(String name, LocalQueueStatsImpl localQueueStats)
           
 void putLocalSemaphoreStats(String name, LocalSemaphoreStatsImpl localSemaphoreStats)
           
 void putLocalTopicStats(String name, LocalTopicStatsImpl localTopicStats)
           
 void readData(DataInput in)
           
 void setAddress(Address address)
           
 void setRuntimeProps(Map<String,Long> runtimeProps)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemberStateImpl

public MemberStateImpl()
Method Detail

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.