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<ClientEndPointDTO> 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()
           
 MXBeansDTO getMXBeans()
           
 LocalOperationStats getOperationStats()
          Returns the local operation statistics.
 Map<String,Long> getRuntimeProps()
           
 int hashCode()
           
 void putLocalCacheStats(String name, LocalCacheStats localCacheStats)
           
 void putLocalExecutorStats(String name, LocalExecutorStats localExecutorStats)
           
 void putLocalMapStats(String name, LocalMapStats localMapStats)
           
 void putLocalMultiMapStats(String name, LocalMultiMapStats localMultiMapStats)
           
 void putLocalQueueStats(String name, LocalQueueStats localQueueStats)
           
 void putLocalTopicStats(String name, LocalTopicStats localTopicStats)
           
 void setAddress(String address)
           
 void setBeans(MXBeansDTO beans)
           
 void setClients(Collection<ClientEndPointDTO> clients)
           
 void setLocalMemoryStats(LocalMemoryStats memoryStats)
           
 void setOperationStats(LocalOperationStats operationStats)
           
 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,
                             LocalMapStats localMapStats)

putLocalMultiMapStats

public void putLocalMultiMapStats(String name,
                                  LocalMultiMapStats localMultiMapStats)

putLocalQueueStats

public void putLocalQueueStats(String name,
                               LocalQueueStats localQueueStats)

putLocalTopicStats

public void putLocalTopicStats(String name,
                               LocalTopicStats localTopicStats)

putLocalExecutorStats

public void putLocalExecutorStats(String name,
                                  LocalExecutorStats localExecutorStats)

putLocalCacheStats

public void putLocalCacheStats(String name,
                               LocalCacheStats localCacheStats)

getClients

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

getMXBeans

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

setBeans

public void setBeans(MXBeansDTO beans)

setClients

public void setClients(Collection<ClientEndPointDTO> clients)

getLocalMemoryStats

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

setLocalMemoryStats

public void setLocalMemoryStats(LocalMemoryStats memoryStats)

getOperationStats

public LocalOperationStats getOperationStats()
Description copied from interface: MemberState
Returns the local operation statistics.

Specified by:
getOperationStats in interface MemberState
Returns:
LocalOperationStats statistics

setOperationStats

public void setOperationStats(LocalOperationStats operationStats)

getMemberPartitionState

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

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.