Uses of Class
org.forgerock.util.time.Duration
-
Packages that use Duration Package Description org.forgerock.audit.batch Package contains common audit batch configuration files.org.forgerock.audit.events.handlers.buffering This package contains the batch publisher and its various implementations.org.forgerock.audit.handlers.csv This package contains the default AuditEventHandler implementations.org.forgerock.audit.rotation Audit log file rotation classes.org.forgerock.http.handler CoreHandler
implementations.org.forgerock.json Provides an API for the traversal and manipulation of JSON object model structures in Java.org.forgerock.openig.filter Filters the requests and/or responses of HTTP.org.forgerock.openig.filter.oauth2 This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.org.forgerock.openig.filter.throttling This package contains the components used to implement a throttling rate support.org.forgerock.openig.jwt Provides JWT capabilities to the Identity Gateway.org.forgerock.util Provides common interfaces and classes.org.forgerock.util.time Provides a time service abstraction. -
-
Uses of Duration in org.forgerock.audit.batch
Fields in org.forgerock.audit.batch declared as Duration Modifier and Type Field Description static Duration
CommonAuditBatchConfiguration. POLLING_INTERVAL
Common Audit Batch log records queue polling timeout asDuration
. -
Uses of Duration in org.forgerock.audit.events.handlers.buffering
Methods in org.forgerock.audit.events.handlers.buffering with parameters of type Duration Modifier and Type Method Description BufferedBatchPublisher.Builder
BufferedBatchPublisher.Builder. writeInterval(Duration writeInterval)
The interval duration between each write. -
Uses of Duration in org.forgerock.audit.handlers.csv
Methods in org.forgerock.audit.handlers.csv that return Duration Modifier and Type Method Description Duration
CsvAuditEventHandlerConfiguration.CsvSecurity. getSignatureIntervalDuration()
Get'sCsvAuditEventHandlerConfiguration.CsvSecurity.getSignatureInterval()
value as aDuration
. -
Uses of Duration in org.forgerock.audit.rotation
Methods in org.forgerock.audit.rotation that return Duration Modifier and Type Method Description Duration
TimeLimitRotationPolicy. getRotationInterval()
Gets the rotation duration interval.Methods in org.forgerock.audit.rotation that return types with arguments of type Duration Modifier and Type Method Description List<Duration>
FixedTimeRotationPolicy. getDailyRotationTimes()
Get the list of times since midnight that rotation will occur at.Constructors in org.forgerock.audit.rotation with parameters of type Duration Constructor Description TimeLimitRotationPolicy(Duration rotationInterval)
Constructs a TimeLimitRotationPolicy with a givenDuration
.Constructor parameters in org.forgerock.audit.rotation with type arguments of type Duration Constructor Description FixedTimeRotationPolicy(List<Duration> rotationTimes)
Constructs aFixedTimeRotationPolicy
given a list of milliseconds after midnight to rotateIfNeeded the files. -
Uses of Duration in org.forgerock.http.handler
Fields in org.forgerock.http.handler with type parameters of type Duration Modifier and Type Field Description static Option<Duration>
HttpClientHandler. OPTION_CONNECT_TIMEOUT
The TCP connect timeout for new HTTP connections.static Option<Duration>
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 Modifier and Type Method Description static Function<JsonValue,Duration,JsonValueException>
JsonValueFunctions. duration()
Returns the JSON string value as aDuration
. -
Uses of Duration in org.forgerock.openig.filter
Constructors in org.forgerock.openig.filter with parameters of type Duration Constructor Description RetryFilter(ScheduledExecutorService executorService, int retries, Duration delay)
Constructs a retry filter with the given executor, number of retries and delay between retries. -
Uses of Duration in org.forgerock.openig.filter.oauth2
Constructors in org.forgerock.openig.filter.oauth2 with parameters of type Duration Constructor Description CaffeineCacheAccessTokenResolver(com.github.benmanes.caffeine.cache.Caffeine<Object,Object> caffeine, org.forgerock.http.oauth2.AccessTokenResolver delegate, Clock clock, Duration defaultTimeout, Duration maximumTimeout)
Builds aCaffeineCacheAccessTokenResolver
delegating to the givenAccessTokenResolver
using the given (pre-configured) cache. -
Uses of Duration in org.forgerock.openig.filter.throttling
Methods in org.forgerock.openig.filter.throttling that return Duration Modifier and Type Method Description Duration
ThrottlingRate. getDuration()
Returns the duration of the sliding window.Constructors in org.forgerock.openig.filter.throttling with parameters of type Duration Constructor Description TokenBucketThrottlingStrategy(com.google.common.base.Ticker ticker, ScheduledExecutorService scheduledExecutor, Duration cleaningInterval)
Constructs a newTokenBucketThrottlingStrategy
. -
Uses of Duration in org.forgerock.openig.jwt
Fields in org.forgerock.openig.jwt declared as Duration Modifier and Type Field Description static Duration
JwtSessionManager. MAX_SESSION_TIMEOUT
The maximum session timeout duration, allows for an expiry time of approx 10 years (does not take leap years into consideration).Constructors in org.forgerock.openig.jwt with parameters of type Duration Constructor Description JwtCookieSession(Request request, KeyPair pair, CookieBuilder cookieBuilder, Clock clock, Duration sessionTimeout, boolean persistentCookie, Duration skewAllowance, org.forgerock.json.jose.jws.handlers.SigningHandler signingHandler)
Builds a new JwtCookieSession that will manage the given Request's session.JwtSessionManager(KeyPair keyPair, CookieBuilder cookieBuilder, Clock clock, Duration sessionTimeout, boolean persistentCookie, Duration skewAllowance, org.forgerock.json.jose.jws.handlers.SigningHandler handler)
Builds a new JwtSessionManager using the given KeyPair for session encryption, storing the opaque result in a cookie with the given name. -
Uses of Duration in org.forgerock.util
Methods in org.forgerock.util that return Duration Modifier and Type Method Description Duration
PerItemEvictionStrategyCache. getMaxTimeout()
Gets the maximum timeout (can be null).Methods in org.forgerock.util with parameters of type Duration Modifier and Type Method Description void
PerItemEvictionStrategyCache. setMaxTimeout(Duration maxTimeout)
Sets the maximum timeout.Method parameters in org.forgerock.util with type arguments of type Duration Modifier and Type Method Description <E extends Exception>
VPerItemEvictionStrategyCache. 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 Duration Constructor Description PerItemEvictionStrategyCache(ScheduledExecutorService executorService, Duration defaultTimeout)
Build a newPerItemEvictionStrategyCache
using the given scheduled executor.Constructor parameters in org.forgerock.util with type arguments of type Duration Constructor Description PerItemEvictionStrategyCache(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 Duration Modifier and Type Field Description static Duration
Duration. UNLIMITED
Special duration that represents an unlimited duration (or indefinite).static Duration
Duration. ZERO
Special duration that represents a zero-length duration.Methods in org.forgerock.util.time that return Duration Modifier and Type Method Description Duration
Duration. convertTo(TimeUnit targetUnit)
Convert the current duration to a givenTimeUnit
.static Duration
Duration. duration(long number, TimeUnit unit)
Provides aDuration
, given a number and time unit.static Duration
Duration. duration(String value)
Provides aDuration
that represents the given duration expressed in english.Methods in org.forgerock.util.time with parameters of type Duration Modifier and Type Method Description int
Duration. compareTo(Duration that)
-