com.atlassian.confluence.cluster.hazelcast
Class HazelcastClusterInformation

java.lang.Object
  extended by com.atlassian.confluence.cluster.hazelcast.HazelcastClusterInformation
All Implemented Interfaces:
ClusterInformation

public class HazelcastClusterInformation
extends java.lang.Object
implements ClusterInformation


Constructor Summary
HazelcastClusterInformation(com.hazelcast.core.HazelcastInstance instance)
           
 
Method Summary
 java.lang.String getDescription()
           
 int getMemberCount()
           
 java.util.List<java.lang.String> getMembers()
           
 java.lang.String getMulticastAddress()
           
 java.lang.String getMulticastPort()
           
 java.lang.String getName()
           
 boolean isRunning()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HazelcastClusterInformation

public HazelcastClusterInformation(com.hazelcast.core.HazelcastInstance instance)
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<java.lang.String> 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


Copyright © 2003-2014 Atlassian. All Rights Reserved.