Class UpdateHeartbeatMessage

    • Constructor Detail

      • UpdateHeartbeatMessage

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

      • 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.