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 Summary
Constructors Constructor Description MetadataInfo(@NotNull String senderNodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrossNodesCommunication.Metadata
toGrpcRequestMessage(boolean handleByDeadLetterQueue)
CrossNodesCommunication.Metadata
toGrpcRequestMessage(boolean handleByDeadLetterQueue, TestModeEnum testMode)
-
-
-
Constructor Detail
-
MetadataInfo
public MetadataInfo(@NotNull @NotNull String senderNodeId)
-
-
Method Detail
-
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)
-
-