Uses of Interface
io.camunda.client.impl.util.SupplierWithIO
Packages that use SupplierWithIO
-
Uses of SupplierWithIO in io.camunda.client.impl.oauth
Methods in io.camunda.client.impl.oauth with parameters of type SupplierWithIOModifier and TypeMethodDescriptionOAuthCredentialsCache.computeIfMissingOrInvalid(String clientId, SupplierWithIO<CamundaClientCredentials> zeebeClientCredentialsConsumer) OAuthCredentialsCache.computeIfMissingOrInvalid(String clientId, SupplierWithIO<CamundaClientCredentials> zeebeClientCredentialsConsumer, Runnable proactiveRefreshCallback, Duration proactiveTokenRefreshThreshold) Returns a valid cached token, or fetches a new one if missing/invalid.booleanOAuthCredentialsCache.forceRefreshIfChanged(String clientId, SupplierWithIO<CamundaClientCredentials> credentialsSupplier) Ensures that a fresh token is available in the cache, and returnstrueif the caller should retry its request (i.e. credentials were refreshed — either by this thread or by a concurrent one that completed while this thread was waiting for the lock).