Package | Description |
---|---|
org.forgerock.http.handler |
Core
Handler implementations. |
org.forgerock.json |
Provides an API for the traversal and manipulation of JSON object model structures in Java.
|
org.forgerock.json.jose.jwk.store |
This package contains classes to manage a JWKs URI.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.util |
Provides common interfaces and classes.
|
org.forgerock.util.time |
Provides a time service abstraction.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,Duration,JsonValueException> |
JsonValueFunctions.duration()
Returns the JSON string value as a
Duration . |
Modifier and Type | Field and Description |
---|---|
static 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 Duration |
JwksStoreService.JWKS_STORE_DEFAULT_CACHE_TIMEOUT_MS
The default cache timeout in ms.
|
Modifier and Type | Method and Description |
---|---|
Duration |
JwksStore.getCacheMissCacheTime()
Get the cache time before reload the cache in case of cache miss.
|
Duration |
JwksStore.getCacheTimeout()
Get the cache timeout.
|
Modifier and Type | Method and Description |
---|---|
JwksStore |
JwksStoreService.configureJwksStore(String uid,
Duration cacheTimeout,
Duration cacheMissCacheTime,
URL jwkUrl)
Deprecated.
Use
JwksStoreService.configureJwksStore(String, Duration, Duration, URL, Clock) with an explicit clock. |
JwksStore |
JwksStoreService.configureJwksStore(String uid,
Duration cacheTimeout,
Duration cacheMissCacheTime,
URL jwkUrl,
Clock clock)
Configure a JWKs store.
|
void |
JwksStore.setCacheMissCacheTime(Duration cacheMissCacheTime)
Update the cache time before reload the cache in case of cache miss.
|
void |
JwksStore.setCacheTimeout(Duration cacheTimeout)
Update the cache timeout.
|
Constructor and Description |
---|
JwksStore(Duration cacheTimeout,
Duration cacheMissCacheTime,
URL jwkUrl,
JWKSetParser jwkSetParser,
Clock clock)
Create a new JWKs store.
|
Modifier and Type | Field and Description |
---|---|
static Option<Duration> |
LdapConnectionFactory.CONNECT_TIMEOUT
Specifies the connect timeout spcified.
|
static Option<Duration> |
LdapConnectionFactory.HEARTBEAT_INTERVAL
Specifies the time between successive heart-beat requests (default interval is 10 seconds).
|
static Option<Duration> |
LdapConnectionFactory.HEARTBEAT_TIMEOUT
Specifies the timeout for heart-beat requests, after which the remote Directory Server will be deemed to be
unavailable (default timeout is 3 seconds).
|
static Option<Duration> |
LdapClients.LDAP_CLIENT_CONNECT_TIMEOUT
Specifies the connect timeout specified.
|
static Option<Duration> |
LdapClients.LDAP_CLIENT_HEARTBEAT_INTERVAL
Specifies the time between successive heart-beat requests (default interval is 10 seconds).
|
static Option<Duration> |
LdapClients.LDAP_CLIENT_HEARTBEAT_TIMEOUT
Specifies the timeout for heart-beat requests, after which the remote Directory Server will be deemed to be
unavailable (default timeout is 3 seconds).
|
static Option<Duration> |
LdapClients.LDAP_CLIENT_REQUEST_TIMEOUT
Specifies the operation timeout.
|
static Option<Duration> |
LdapClients.LOAD_BALANCER_MONITORING_INTERVAL
Specifies the interval between successive attempts to reconnect to offline load-balanced LDAP clients.
|
static Option<Duration> |
LdapConnectionFactory.REQUEST_TIMEOUT
Specifies the operation timeout.
|
Modifier and Type | Method and Description |
---|---|
Duration |
PerItemEvictionStrategyCache.getMaxTimeout()
Gets the maximum timeout (can be null).
|
Modifier and Type | Method and Description |
---|---|
void |
PerItemEvictionStrategyCache.setMaxTimeout(Duration maxTimeout)
Sets the maximum timeout.
|
Modifier and Type | Method and Description |
---|---|
V |
PerItemEvictionStrategyCache.getValue(K key,
Callable<V> callable,
AsyncFunction<V,Duration,Exception> expire)
Borrow (and create before hand if absent) a cache entry.
|
Constructor and Description |
---|
PerItemEvictionStrategyCache(ScheduledExecutorService executorService,
Duration defaultTimeout)
Build a new
PerItemEvictionStrategyCache using the given scheduled executor. |
Constructor and Description |
---|
PerItemEvictionStrategyCache(ScheduledExecutorService executorService,
AsyncFunction<V,Duration,Exception> defaultTimeoutFunction)
Build a new
PerItemEvictionStrategyCache using the given scheduled executor. |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
Duration |
Duration.convertTo(TimeUnit targetUnit)
Convert the current duration to a given
TimeUnit . |
static Duration |
Duration.duration(long number,
TimeUnit unit)
Provides a
Duration , given a number and time unit. |
static Duration |
Duration.duration(String value)
Provides a
Duration that represents the given duration expressed in english. |
Modifier and Type | Method and Description |
---|---|
int |
Duration.compareTo(Duration that) |
Copyright © 2010-2018, ForgeRock All Rights Reserved.