Class UpdateHeartbeatMessage

java.lang.Object
com.atlassian.bamboo.v2.build.agent.messages.AbstractBambooAgentMessage
com.atlassian.bamboo.v2.build.agent.messages.UpdateHeartbeatMessage
All Implemented Interfaces:
BambooAgentMessage, Serializable

public class UpdateHeartbeatMessage extends AbstractBambooAgentMessage
See Also:
  • Constructor Details

    • UpdateHeartbeatMessage

      public UpdateHeartbeatMessage(@NotNull @NotNull Long agentId, @NotNull @NotNull AgentStatus status, @NotNull @NotNull SystemInfo systemInfo, @Nullable @Nullable UUID uuid)
  • Method Details

    • deliver

      public Object deliver()
      Description copied from interface: BambooAgentMessage
      Delivers the message to the appropriate object in the local virtual machine.
      Returns:
      an optional reply to message (including error-reporting messages)
    • shouldBeSentDuringHeartAttack

      public boolean shouldBeSentDuringHeartAttack()
      Description copied from interface: BambooAgentMessage
      Value of true indicates that the message send should be attempted even if the agent is in "heart attack" state. "Heart attack" state means that heartbeat timeout has been exceeded, but the agent is still running with limited functionality in order to give itself a chance of finishing current build/deployment and returning its result should the communication be re-established.