com.hazelcast.monitor
Class ClusterStateViewImpl

java.lang.Object
  extended by com.hazelcast.monitor.ClusterStateViewImpl
All Implemented Interfaces:
ClusterStateView, DataSerializable, Serializable

public class ClusterStateViewImpl
extends Object
implements ClusterStateView, DataSerializable

See Also:
Serialized Form

Constructor Summary
ClusterStateViewImpl()
           
ClusterStateViewImpl(Set<String> instanceNames)
           
 
Method Summary
 Set<String> getAtomicNumbers()
           
 Set<String> getIdGenerators()
           
 Set<String> getLists()
           
 Set<String> getMaps()
           
 Set<Member> getMembers()
           
 Set<String> getMultiMaps()
           
 int[] getPartitions(Member member)
           
 Set<String> getQueues()
           
 Set<String> getSets()
           
 Set<String> getTopics()
           
 void readData(DataInput in)
           
 void setPartition(Member member, int[] partitions)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterStateViewImpl

public ClusterStateViewImpl(Set<String> instanceNames)

ClusterStateViewImpl

public ClusterStateViewImpl()
Method Detail

setPartition

public void setPartition(Member member,
                         int[] partitions)

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

getMaps

public Set<String> getMaps()
Specified by:
getMaps in interface ClusterStateView

getMultiMaps

public Set<String> getMultiMaps()
Specified by:
getMultiMaps in interface ClusterStateView

getQueues

public Set<String> getQueues()
Specified by:
getQueues in interface ClusterStateView

getSets

public Set<String> getSets()
Specified by:
getSets in interface ClusterStateView

getLists

public Set<String> getLists()
Specified by:
getLists in interface ClusterStateView

getTopics

public Set<String> getTopics()
Specified by:
getTopics in interface ClusterStateView

getAtomicNumbers

public Set<String> getAtomicNumbers()
Specified by:
getAtomicNumbers in interface ClusterStateView

getIdGenerators

public Set<String> getIdGenerators()
Specified by:
getIdGenerators in interface ClusterStateView

getMembers

public Set<Member> getMembers()
Specified by:
getMembers in interface ClusterStateView

getPartitions

public int[] getPartitions(Member member)
Specified by:
getPartitions in interface ClusterStateView

toString

public String toString()
Overrides:
toString in class Object


Copyright .9.4-SNAPSHOT; 2008-2011 Hazel Ltd. All Rights Reserved.