Skip to main content

AdapterPoolQueueCancellationOutcome

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

What happened when a queue entry was asked to be cancelled — DELETE {tenantId}/v1/adapterPool/{adapterPoolRtId}/queue/{executionId} (AB#4924 §10).

public enum AdapterPoolQueueCancellationOutcome

Inheritance ObjectValueTypeEnumAdapterPoolQueueCancellationOutcome
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Remarks:

🔴 is a first-class outcome, not an error. The server answers 409 Conflict for an execution that already holds a lease, because cancelling a queued entry and interrupting a running pipeline are two different operations (concept §5, "Cancellation"). Surfacing it as a generic failure would hide from the operator which of the two they just failed to perform — so it travels as its own value and every surface says so.

Fields

NameValueDescription
Cancelled0The entry was waiting and is now Cancelled. It will never be leased.
AlreadyLeased1The execution already holds a lease (409). Nothing was cancelled. Stopping it means interrupting the running pipeline, which is the other operation.
NotFound2No queued execution with that id belongs to this pool (404) — it never existed here, or it already finished, failed or was cancelled.