Optional ReadonlyadmissionBounded policy class used for this admission, when configured.
ReadonlyadmissionStable identifier for this successful admission.
ReadonlylimitImmutable limit revision captured at successful admission.
ReadonlyreservationExact reservation used at admission, or null without a token budget.
ReadonlyresourcesExact protected/shared resource attribution captured at admission.
Return a borrowed local concurrency slot before final settlement while retaining any token hold. Returns true only for the first effective call.
Optionalusage: TokenUsageOptionalreconciliation: ProgressiveReconciliationOptions
Admission token returned by
acquire().Call
release()exactly once when the request completes. PassTokenUsageto enable the refund mechanism — the bulkhead returns the difference between the pre-admission reservation and actual consumption to the budget immediately.For streaming workloads, call
reportUsage()with cumulative usage as stream events arrive:release()is later called without usage, the last reported usage is used for the final refund.