ExStorageService.Cluster.Outbox.Supervisor (ex_storage_service v0.6.2)

Copy Markdown View Source

Supervises one instance's durable outbox dispatcher and bounded tasks.

The children share a :one_for_all failure domain: if the dispatcher restarts, its in-flight tasks are cancelled and their durable leases are reclaimed only after expiry with a higher fencing token.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

@spec start_link(keyword()) :: Supervisor.on_start()