com.hazelcast.monitor.impl
Class MemberStateImpl

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

public class MemberStateImpl
extends Object
implements MemberState


Constructor Summary
MemberStateImpl()
           
 
Method Summary
 boolean equals(Object o)
           
 void fromJson(com.eclipsesource.json.JsonObject json)
           
 String getAddress()
           
 Collection<SerializableClientEndPoint> getClients()
           
 LocalCacheStats getLocalCacheStats(String cacheName)
           
 LocalExecutorStats getLocalExecutorStats(String executorName)
           
 LocalMapStats getLocalMapStats(String mapName)
           
 LocalMemoryStats getLocalMemoryStats()
           
 LocalMultiMapStats getLocalMultiMapStats(String mapName)
           
 LocalQueueStats getLocalQueueStats(String queueName)
           
 LocalTopicStats getLocalTopicStats(String topicName)
           
 MemberPartitionState getMemberPartitionState()
           
 SerializableMXBeans getMXBeans()
           
 Map<String,Long> getRuntimeProps()
           
 int hashCode()
           
 void putLocalCacheStats(String name, LocalCacheStats localCacheStats)
           
 void putLocalExecutorStats(String name, LocalExecutorStatsImpl localExecutorStats)
           
 void putLocalMapStats(String name, LocalMapStatsImpl localMapStats)
           
 void putLocalMultiMapStats(String name, LocalMultiMapStatsImpl localMultiMapStats)
           
 void putLocalQueueStats(String name, LocalQueueStatsImpl localQueueStats)
           
 void putLocalTopicStats(String name, LocalTopicStatsImpl localTopicStats)
           
 void setAddress(String address)
           
 void setBeans(SerializableMXBeans beans)
           
 void setClients(Collection<SerializableClientEndPoint> clients)
           
 void setLocalMemoryStats(LocalMemoryStats memoryStats)
           
 void setMemberPartitionState(MemberPartitionState memberPartitionState)
           
 void setRuntimeProps(Map<String,Long> runtimeProps)
           
 com.eclipsesource.json.JsonObject toJson()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemberStateImpl

public MemberStateImpl()
Method Detail

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

getRuntimeProps

public Map<String,Long> getRuntimeProps()
Specified by:
getRuntimeProps in interface MemberState

setRuntimeProps

public void setRuntimeProps(Map<String,Long> runtimeProps)

getLocalMapStats

public LocalMapStats getLocalMapStats(String mapName)
Specified by:
getLocalMapStats in interface MemberState

getLocalMultiMapStats

public LocalMultiMapStats getLocalMultiMapStats(String mapName)
Specified by:
getLocalMultiMapStats in interface MemberState

getLocalQueueStats

public LocalQueueStats getLocalQueueStats(String queueName)
Specified by:
getLocalQueueStats in interface MemberState

getLocalTopicStats

public LocalTopicStats getLocalTopicStats(String topicName)
Specified by:
getLocalTopicStats in interface MemberState

getLocalExecutorStats

public LocalExecutorStats getLocalExecutorStats(String executorName)
Specified by:
getLocalExecutorStats in interface MemberState

getLocalCacheStats

public LocalCacheStats getLocalCacheStats(String cacheName)
Specified by:
getLocalCacheStats in interface MemberState

getAddress

public String getAddress()
Specified by:
getAddress in interface MemberState

setAddress

public void setAddress(String address)

putLocalMapStats

public void putLocalMapStats(String name,
                             LocalMapStatsImpl localMapStats)

putLocalMultiMapStats

public void putLocalMultiMapStats(String name,
                                  LocalMultiMapStatsImpl localMultiMapStats)

putLocalQueueStats

public void putLocalQueueStats(String name,
                               LocalQueueStatsImpl localQueueStats)

putLocalTopicStats

public void putLocalTopicStats(String name,
                               LocalTopicStatsImpl localTopicStats)

putLocalExecutorStats

public void putLocalExecutorStats(String name,
                                  LocalExecutorStatsImpl localExecutorStats)

putLocalCacheStats

public void putLocalCacheStats(String name,
                               LocalCacheStats localCacheStats)

getClients

public Collection<SerializableClientEndPoint> getClients()
Specified by:
getClients in interface MemberState

getMXBeans

public SerializableMXBeans getMXBeans()
Specified by:
getMXBeans in interface MemberState

setBeans

public void setBeans(SerializableMXBeans beans)

setClients

public void setClients(Collection<SerializableClientEndPoint> clients)

getLocalMemoryStats

public LocalMemoryStats getLocalMemoryStats()
Specified by:
getLocalMemoryStats in interface MemberState

setLocalMemoryStats

public void setLocalMemoryStats(LocalMemoryStats memoryStats)

getMemberPartitionState

public MemberPartitionState getMemberPartitionState()
Specified by:
getMemberPartitionState in interface MemberState

setMemberPartitionState

public void setMemberPartitionState(MemberPartitionState memberPartitionState)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


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