Package com.atlassian.bamboo.beehive
Class BambooNodeStatusImpl
java.lang.Object
com.atlassian.bamboo.beehive.BambooNodeStatusImpl
- All Implemented Interfaces:
BambooNodeInfo
,BambooNodeStatus
-
Constructor Summary
ConstructorDescriptionBambooNodeStatusImpl
(@NotNull BambooNodeInfo other, boolean primary, boolean alive) BambooNodeStatusImpl
(@NotNull String nodeId, @NotNull String nodeName, @Nullable Date lastHeartbeat, boolean primary) Deprecated.BambooNodeStatusImpl
(@NotNull String nodeId, @NotNull String nodeName, @Nullable Date lastHeartbeat, @Nullable String hostname, int internalCommunicationPort) BambooNodeStatusImpl
(@NotNull String nodeId, @NotNull String nodeName, @Nullable Date lastHeartbeat, @Nullable String hostname, int internalCommunicationPort, boolean primary, boolean alive) -
Method Summary
-
Constructor Details
-
BambooNodeStatusImpl
-
BambooNodeStatusImpl
@Deprecated(since="9.4.0") public BambooNodeStatusImpl(@NotNull @NotNull String nodeId, @NotNull @NotNull String nodeName, @Nullable @Nullable Date lastHeartbeat, boolean primary) Deprecated. -
BambooNodeStatusImpl
-
BambooNodeStatusImpl
-
-
Method Details
-
getNodeId
- Specified by:
getNodeId
in interfaceBambooNodeInfo
-
getNodeName
- Specified by:
getNodeName
in interfaceBambooNodeInfo
-
getLastHeartbeat
- Specified by:
getLastHeartbeat
in interfaceBambooNodeInfo
-
getHostname
- Specified by:
getHostname
in interfaceBambooNodeInfo
-
getInternalCommunicationPort
public int getInternalCommunicationPort()- Specified by:
getInternalCommunicationPort
in interfaceBambooNodeInfo
-
isPrimary
public boolean isPrimary()- Specified by:
isPrimary
in interfaceBambooNodeStatus
-
isAlive
public boolean isAlive()- Specified by:
isAlive
in interfaceBambooNodeStatus
-
equals
-
hashCode
public int hashCode()
-