Modifier and Type | Field and Description |
---|---|
static Duration |
CommonAuditBatchConfiguration.POLLING_INTERVAL
Common Audit Batch log records queue polling timeout as
Duration . |
Modifier and Type | Method and Description |
---|---|
BufferedBatchPublisher.Builder |
BufferedBatchPublisher.Builder.writeInterval(Duration writeInterval)
The interval duration between each write.
|
Modifier and Type | Method and Description |
---|---|
Duration |
CsvAuditEventHandlerConfiguration.CsvSecurity.getSignatureIntervalDuration()
Get's
CsvAuditEventHandlerConfiguration.CsvSecurity.getSignatureInterval() value as a Duration . |
Modifier and Type | Method and Description |
---|---|
Duration |
TimeLimitRotationPolicy.getRotationInterval()
Gets the rotation duration interval.
|
Modifier and Type | Method and Description |
---|---|
List<Duration> |
FixedTimeRotationPolicy.getDailyRotationTimes()
Get the list of times since midnight that rotation will occur at.
|
Constructor and Description |
---|
TimeLimitRotationPolicy(Duration rotationInterval)
Constructs a TimeLimitRotationPolicy with a given
Duration . |
Constructor and Description |
---|
FixedTimeRotationPolicy(List<Duration> rotationTimes)
Constructs a
FixedTimeRotationPolicy given a list of milliseconds after midnight to rotateIfNeeded the
files. |
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 | 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 © 2025 Open Identity Platform Community. All rights reserved.