Package com.atlassian.bamboo.beehive
Class BambooClusterNodeProperties
java.lang.Object
com.atlassian.bamboo.beehive.BambooClusterNodeProperties
- All Implemented Interfaces:
ClusterNodeProperties
Responsible for loading the cluster properties from file, if it exists
- Since:
- v8.0
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.beehive.ClusterNodeProperties
BAMBOO_CLUSTER_CONFIG_PROPERTIES
-
Constructor Summary
-
Method Summary
-
Field Details
-
NODE_INTERNAL_COMMUNICATION_PORT_KEY
- See Also:
-
DEFAULT_NODE_INTERNAL_COMMUNICATION_PORT
public static final int DEFAULT_NODE_INTERNAL_COMMUNICATION_PORT- See Also:
-
-
Constructor Details
-
BambooClusterNodeProperties
-
-
Method Details
-
getNodeId
- Specified by:
getNodeId
in interfaceClusterNodeProperties
- Returns:
- node id for a clustered or HA installation.
-
getNodeName
- Specified by:
getNodeName
in interfaceClusterNodeProperties
-
getHostname
Description copied from interface:ClusterNodeProperties
Returns the IP/hostname configured to be used for this Bamboo Cluster. If none is configured, localhost is returned.- Specified by:
getHostname
in interfaceClusterNodeProperties
- Returns:
- The IP/hostname configured to be used for this Bamboo Cluster.
-
getInternalCommunicationPort
Description copied from interface:ClusterNodeProperties
Returns the port used for internal Bamboo Cluster communication. Bamboo node is listening for requests from other nodes on this port.- Specified by:
getInternalCommunicationPort
in interfaceClusterNodeProperties
- Returns:
- the port used for internal cluster communication
-