Class NotificationOutboxStore
java.lang.Object
ecmwf.common.database.NotificationOutboxStore
Durable, independently retried MQTT deliveries for a notification.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclaim(long leaseMillis) Claim one due broker delivery.booleancomplete(NotificationOutboxStore.Delivery delivery) Mark a confirmed broker acceptance; delete the payload after the final target succeeds.voidretry(NotificationOutboxStore.Delivery delivery, long delayMillis) Reschedule an unsuccessful or ambiguous broker attempt if the lease is still ours.
-
Constructor Details
-
NotificationOutboxStore
-
-
Method Details
-
claim
Claim one due broker delivery. Expired claims can be retried after a crash. -
claim
-
retry
Reschedule an unsuccessful or ambiguous broker attempt if the lease is still ours. -
complete
Mark a confirmed broker acceptance; delete the payload after the final target succeeds.
-