Uses of Class
org.forgerock.util.time.Duration
Packages that use Duration
Package
Description
Core
Handler
implementations.Provides an API for the traversal and manipulation of JSON object model structures in Java.
This package contains classes to manage a JWKs URI.
Defines the core classes to implement OAuth2 for OpenAM.
Classes and interfaces for core types including connections, entries, and
attributes.
Provides common interfaces and classes.
Provides a time service abstraction.
-
Uses of Duration in org.forgerock.am.cts.api.filter
Methods in org.forgerock.am.cts.api.filter that return DurationMethods in org.forgerock.am.cts.api.filter with parameters of type DurationModifier and TypeMethodDescriptionvoid
TokenFilter.setTimeLimit
(Duration timeLimit) Set the time limit of the query.TokenFilterBuilder.withTimeLimit
(Duration timeLimit) Sets the time limit for the query request. -
Uses of Duration in org.forgerock.http.handler
Fields in org.forgerock.http.handler with type parameters of type DurationModifier and TypeFieldDescriptionHttpClientHandler.OPTION_CONNECT_TIMEOUT
The TCP connect timeout for new HTTP connections.HttpClientHandler.OPTION_SO_TIMEOUT
The TCP socket timeout when waiting for HTTP responses. -
Uses of Duration in org.forgerock.json
Methods in org.forgerock.json that return types with arguments of type Duration -
Uses of Duration in org.forgerock.json.jose.jwk.store
Fields in org.forgerock.json.jose.jwk.store declared as DurationModifier and TypeFieldDescriptionstatic final Duration
JwksStoreService.JWKS_STORE_DEFAULT_CACHE_MISS_CACHE_TIME_MS
The default cache time before reload the cache in case of cache miss ms.static final Duration
JwksStoreService.JWKS_STORE_DEFAULT_CACHE_TIMEOUT_MS
The default cache timeout in ms.Methods in org.forgerock.json.jose.jwk.store that return DurationModifier and TypeMethodDescriptionJwksStore.getCacheMissCacheTime()
Get the cache time before reloading the cache in case of cache miss.JwksStore.getCacheTimeout()
Get the cache timeout.Methods in org.forgerock.json.jose.jwk.store with parameters of type DurationModifier and TypeMethodDescriptionJwksStoreService.configureJwksStore
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl) Deprecated.JwksStoreService.configureJwksStore
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock) Deprecated.JwksStoreService.configureJwksStoreAsync
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock) Configure a JWKs store.static Promise<JwksStore,
FailedToLoadJWKException> JwksStore.newJwksStore
(Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, JWKSetParser jwkSetParser, Clock clock) Create a new JWKs store asynchronously.void
JwksStore.setCacheMissCacheTime
(Duration cacheMissCacheTime) Update the cache time before reloading the cache in case of cache miss.void
JwksStore.setCacheTimeout
(Duration cacheTimeout) Update the cache timeout.Constructors in org.forgerock.json.jose.jwk.store with parameters of type DurationModifierConstructorDescriptionJwksStore
(Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, JWKSetParser jwkSetParser, Clock clock) Deprecated.It is recommended to useJwksStore.newJwksStore(Duration, Duration, URL, JWKSetParser, Clock)
. -
Uses of Duration in org.forgerock.oauth2.core
Methods in org.forgerock.oauth2.core that return DurationModifier and TypeMethodDescriptionTrustedJwtIssuerConfig.getJwksCacheMissTimeout()
The duration to retain the failure to obtain a JWK Set from theTrustedJwtIssuerConfig.getJwksUri()
in the cache.TrustedJwtIssuerConfig.getJwksCacheTimeout()
The duration to retain the JWK Set obtained from theTrustedJwtIssuerConfig.getJwksUri()
in the cache.Constructors in org.forgerock.oauth2.core with parameters of type Duration -
Uses of Duration in org.forgerock.opendj.ldap
Fields in org.forgerock.opendj.ldap with type parameters of type DurationModifier and TypeFieldDescriptionLdapClients.CONNECT_TIMEOUT
Specifies the connect timeout.LdapClients.CONNECTION_POOL_IDLE_TIMEOUT
The time interval after which idle connections can be closed, shrinking the connection pool towards theminimum size
.LdapClients.LDAP_CLIENT_KEEP_ALIVE_INTERVAL
Specifies the time between successive keep-alives (default interval is 300 seconds).LdapClients.LDAP_CLIENT_KEEP_ALIVE_TIMEOUT
Specifies the timeout for keep-alives, after which the remote Directory Server will be deemed to be disconnected (default timeout is 3 seconds).LdapClients.LDAP_CLIENT_REQUEST_TIMEOUT
Specifies the operation timeout.LdapClients.LOAD_BALANCER_AVAILABILITY_CHECK_INTERVAL
Specifies the time between successive availability check requests (default interval is 5 seconds).LdapClients.LOAD_BALANCER_AVAILABILITY_CHECK_TIMEOUT
Specifies the timeout for availability checks, after which the remote Directory Server will be deemed to be unavailable (default timeout is 3 seconds).CommonLdapOptions.WRITE_TIMEOUT
Maximum time allowed for write operations to complete.CommonLdapOptions.WRITE_TIMEOUT
Maximum time allowed for write operations to complete.CommonLdapOptions.WRITE_TIMEOUT
Maximum time allowed for write operations to complete.Constructors in org.forgerock.opendj.ldap with parameters of type DurationModifierConstructorDescriptionTimeoutScheduler
(com.forgerock.opendj.util.ReferenceCountedObject.Reference<ScheduledExecutorService> scheduler, Duration period) Creates a newTimeoutScheduler
. -
Uses of Duration in org.forgerock.util
Methods in org.forgerock.util that return DurationModifier and TypeMethodDescriptionPerItemEvictionStrategyCache.getMaxTimeout()
Gets the maximum timeout (can be null).Methods in org.forgerock.util with parameters of type DurationModifier and TypeMethodDescriptionvoid
PerItemEvictionStrategyCache.setMaxTimeout
(Duration maxTimeout) Sets the maximum timeout.Method parameters in org.forgerock.util with type arguments of type DurationModifier and TypeMethodDescriptionPerItemEvictionStrategyCache.getValue
(K key, Callable<V> callable, AsyncFunction<V, Duration, E> expire) Borrow (and create before hand if absent) a cache entry.Constructors in org.forgerock.util with parameters of type DurationModifierConstructorDescriptionPerItemEvictionStrategyCache
(ScheduledExecutorService executorService, Duration defaultTimeout) Build a newPerItemEvictionStrategyCache
using the given scheduled executor.Constructor parameters in org.forgerock.util with type arguments of type DurationModifierConstructorDescriptionPerItemEvictionStrategyCache
(ScheduledExecutorService executorService, AsyncFunction<V, Duration, Exception> defaultTimeoutFunction) Build a newPerItemEvictionStrategyCache
using the given scheduled executor. -
Uses of Duration in org.forgerock.util.time
Fields in org.forgerock.util.time declared as DurationModifier and TypeFieldDescriptionstatic final Duration
Duration.UNLIMITED
Special duration that represents an unlimited duration (or indefinite).static final Duration
Duration.ZERO
Special duration that represents a zero-length duration.Methods in org.forgerock.util.time that return DurationModifier and TypeMethodDescriptionConvert the current duration to a givenTimeUnit
.static Duration
Provides aDuration
, given a number and time unit.static Duration
Provides aDuration
that represents the given duration expressed in english.Methods in org.forgerock.util.time with parameters of type Duration
JwksStoreService.configureJwksStore(String, Duration, Duration, URL, Clock)
with an explicit clock.