Class MetadataInfo

java.lang.Object
com.atlassian.bamboo.cluster.event.MetadataInfo

@Immutable public final class MetadataInfo extends Object
Data holder for metadata info common for different event types.
Since:
9.5
  • Constructor Details

    • MetadataInfo

      public MetadataInfo(@NotNull @NotNull String senderNodeId)
  • Method Details

    • toGrpcRequestMessage

      @NotNull public CrossNodesCommunication.Metadata toGrpcRequestMessage(boolean handleByDeadLetterQueue)
      Parameters:
      handleByDeadLetterQueue - whether the event on the remote node side should be tried to be handled in case of the failure. If false, the event will be dropped. This is the information for the remote node, the dead letter queue takes care of the local failures and not the transport failures. The param does not provide completion guarantee, this is the best effort only.
    • toGrpcRequestMessage

      @NotNull public CrossNodesCommunication.Metadata toGrpcRequestMessage(boolean handleByDeadLetterQueue, TestModeEnum testMode)