Class MetadataInfo
java.lang.Object
com.atlassian.bamboo.cluster.event.MetadataInfo
Data holder for metadata info common for different event types.
- Since:
- 9.5
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoGrpcRequestMessage
(boolean handleByDeadLetterQueue) toGrpcRequestMessage
(boolean handleByDeadLetterQueue, TestModeEnum testMode)
-
Constructor Details
-
MetadataInfo
-
-
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)
-