Uses of Class
org.apache.juneau.console.views.IdempotencyKey
Packages that use IdempotencyKey
Package
Description
A typed, declarative "rich DataTables view" toolkit that serializes to the frozen
VIEW_META JSON wire
contract consumed by the first-party client runtime.-
Uses of IdempotencyKey in org.apache.juneau.console.views
Methods in org.apache.juneau.console.views that return IdempotencyKeyModifier and TypeMethodDescriptionMints and records a key bound to(action, targetId)with no principal.Mints and records a key bound to(action, targetId)and to the actor.JobKeyLedger.Grant.key()Returns the value of thekeyrecord component.static IdempotencyKeyMints a fresh key bound to the specified(action, targetId)pair.static IdempotencyKeyIdempotencyKey.mintSelfTargeted(String action) Mints a fresh key that is bound to itself: itstargetId()is its ownvalue().static IdempotencyKeyRehydrates a previously-minted key from its recorded value and binding.Methods in org.apache.juneau.console.views with parameters of type IdempotencyKeyModifier and TypeMethodDescriptionvoidJobKeyLedger.claim(IdempotencyKey key, String jobId) Records the job a key started, so a later verify carries it and the key can never start a second one.AsyncJobRegistry.create(IdempotencyKey key) Returns the job registered under the specified idempotency key, or creates and registers one, throwing when the concurrency cap is reached.JobKeyLedger.response(IdempotencyKey key) The key endpoint's response body:{contractVersion, action, targetId, idempotencyKey}.AsyncJobRegistry.tryCreate(IdempotencyKey key) Returns the job registered under the specified idempotency key, or atomically creates and registers one.Constructors in org.apache.juneau.console.views with parameters of type IdempotencyKeyModifierConstructorDescriptionGrant(IdempotencyKey key, Optional<String> jobId) Creates an instance of aGrantrecord class.