com.atlassian.confluence.cluster.coherence
Class TangosolClusterInformation

java.lang.Object
  extended by com.atlassian.confluence.cluster.coherence.TangosolClusterInformation
All Implemented Interfaces:
ClusterInformation

public class TangosolClusterInformation
extends java.lang.Object
implements ClusterInformation


Constructor Summary
TangosolClusterInformation(com.tangosol.net.Cluster cluster, com.tangosol.run.xml.XmlElement xmlConfig)
           
 
Method Summary
 java.lang.String getDescription()
           
 int getMemberCount()
           
 java.util.List getMembers()
           
 java.lang.String getMulticastAddress()
           
 java.lang.String getMulticastPort()
           
 java.lang.String getName()
           
 boolean isRunning()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TangosolClusterInformation

public TangosolClusterInformation(com.tangosol.net.Cluster cluster,
                                  com.tangosol.run.xml.XmlElement xmlConfig)
Method Detail

isRunning

public boolean isRunning()
Specified by:
isRunning in interface ClusterInformation

getName

public java.lang.String getName()
Specified by:
getName in interface ClusterInformation

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ClusterInformation

getMembers

public java.util.List getMembers()
Specified by:
getMembers in interface ClusterInformation
Returns:
a List of Strings with a description of each member of the cluster

getMemberCount

public int getMemberCount()
Specified by:
getMemberCount in interface ClusterInformation
Returns:
the number of members in the cluster

getMulticastAddress

public java.lang.String getMulticastAddress()
Specified by:
getMulticastAddress in interface ClusterInformation
Returns:
the multicast listener address for the cluster as a dotted decimal IPv4 address

getMulticastPort

public java.lang.String getMulticastPort()
Specified by:
getMulticastPort in interface ClusterInformation
Returns:
the multicast listener port for the cluster

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.