public interface

ClusterInformation

com.atlassian.bitbucket.cluster.ClusterInformation

Class Overview

Describes a cluster, providing details about each node.

Summary

Public Methods
@Nonnull ClusterNode getLocalNode()
@Nonnull Set<ClusterNode> getNodes()
boolean isRunning()

Public Methods

@Nonnull public ClusterNode getLocalNode ()

Returns
  • information about the local node

@Nonnull public Set<ClusterNode> getNodes ()

Returns
  • a set describing all of the nodes in the cluster, which will always contain at least one node

public boolean isRunning ()

Returns
  • true if the clustering services are running, indicating nodes can join the cluster; otherwise, false if clustering services are not running