Uses of Class
org.forgerock.util.time.Duration
Packages that use Duration
Package
Description
Package contains common audit batch configuration files.
This package contains the batch publisher and its various implementations.
Audit log file rotation classes.
Provides an API for the traversal and manipulation of JSON object model structures in Java.
This package contains classes to manage a JWKs URI.
Provides common interfaces and classes.
Provides a time service abstraction.
-
Uses of Duration in org.forgerock.audit.batch
Fields in org.forgerock.audit.batch declared as DurationModifier and TypeFieldDescriptionstatic final Duration
CommonAuditBatchConfiguration.POLLING_INTERVAL
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Duration in org.forgerock.audit.events.handlers.buffering
Methods in org.forgerock.audit.events.handlers.buffering with parameters of type DurationModifier and TypeMethodDescriptionBufferedBatchPublisher.Builder.writeInterval
(Duration writeInterval) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Duration in org.forgerock.audit.rotation
Methods in org.forgerock.audit.rotation that return DurationModifier and TypeMethodDescriptionTimeLimitRotationPolicy.getRotationInterval()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.forgerock.audit.rotation that return types with arguments of type DurationModifier and TypeMethodDescriptionFixedTimeRotationPolicy.getDailyRotationTimes()
Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.forgerock.audit.rotation with parameters of type DurationModifierConstructorDescriptionTimeLimitRotationPolicy
(Duration rotationInterval) Deprecated, for removal: This API element is subject to removal in a future version.UseTimeLimitRotationPolicy(java.time.Duration)
instead.Constructor parameters in org.forgerock.audit.rotation with type arguments of type DurationModifierConstructorDescriptionFixedTimeRotationPolicy
(List<Duration> rotationTimes) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Duration in org.forgerock.json
Methods in org.forgerock.json that return types with arguments of type DurationModifier and TypeMethodDescriptionstatic Function<JsonValue,
Duration, JsonValueException> JsonValueFunctions.duration()
Deprecated, for removal: This API element is subject to removal in a future version.useJsonValueFunctions.javaDuration()
instead -
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
Deprecated, for removal: This API element is subject to removal in a future version.static final Duration
JwksStoreService.JWKS_STORE_DEFAULT_CACHE_TIMEOUT_MS
Deprecated, for removal: This API element is subject to removal in a future version.UseJwksStoreService.JWKS_STORE_DEFAULT_CACHE_TIMEOUT
instead.Methods in org.forgerock.json.jose.jwk.store that return DurationModifier and TypeMethodDescriptionJwksStore.getCacheMissCacheTime()
Deprecated, for removal: This API element is subject to removal in a future version.UseJwksStore.getCacheMissCacheTimeDuration()
instead.JwksStore.getCacheTimeout()
Deprecated, for removal: This API element is subject to removal in a future version.UseJwksStore.getCacheTimeoutDuration()
instead.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) Deprecated, for removal: This API element is subject to removal in a future version.static Promise<JwksStore,
FailedToLoadJWKException> JwksStore.newJwksStore
(Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, JWKSetParser jwkSetParser, Clock clock) Deprecated, for removal: This API element is subject to removal in a future version.void
JwksStore.setCacheMissCacheTime
(Duration cacheMissCacheTime) Deprecated, for removal: This API element is subject to removal in a future version.UseJwksStore.setCacheMissCacheTime(Duration)
instead.void
JwksStore.setCacheTimeout
(Duration cacheTimeout) Deprecated, for removal: This API element is subject to removal in a future version.UseJwksStore.setCacheTimeout(Duration)
instead.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.util
Methods in org.forgerock.util that return DurationModifier and TypeMethodDescriptionPerItemEvictionStrategyCache.getMaxTimeout()
Deprecated, for removal: This API element is subject to removal in a future version.UsePerItemEvictionStrategyCache.getMaxTimeoutDuration()
instead.Methods in org.forgerock.util with parameters of type DurationModifier and TypeMethodDescriptionvoid
PerItemEvictionStrategyCache.setMaxTimeout
(Duration maxTimeout) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.forgerock.util with parameters of type DurationModifierConstructorDescriptionPerItemEvictionStrategyCache
(ScheduledExecutorService executorService, Duration defaultTimeout) Deprecated, for removal: This API element is subject to removal in a future version.Constructor parameters in org.forgerock.util with type arguments of type DurationModifierConstructorDescriptionPerItemEvictionStrategyCache
(ScheduledExecutorService executorService, AsyncFunction<V, Duration, Exception> defaultTimeoutFunction) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Duration in org.forgerock.util.time
Fields in org.forgerock.util.time declared as DurationModifier and TypeFieldDescriptionstatic final Duration
Duration.UNLIMITED
Deprecated, for removal: This API element is subject to removal in a future version.Special duration that represents an unlimited duration (or indefinite).static final Duration
Duration.ZERO
Deprecated, for removal: This API element is subject to removal in a future version.Special duration that represents a zero-length duration.Methods in org.forgerock.util.time that return DurationModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Convert the current duration to a givenTimeUnit
.static Duration
Deprecated, for removal: This API element is subject to removal in a future version.Provides aDuration
, given a number and time unit.static Duration
Deprecated, for removal: This API element is subject to removal in a future version.Provides aDuration
that represents the given duration expressed in english.static Duration
Duration.fromJavaDuration
(Duration duration) Deprecated, for removal: This API element is subject to removal in a future version.Creates a Duration instance from a JavaDuration
.Methods in org.forgerock.util.time with parameters of type Duration
CommonAuditBatchConfiguration.POLLING_INTERVAL_DURATION
instead.