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.json Provides an API for the traversal and manipulation of JSON object model structures in Java.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.rest2ldap APIs for implementing REST to LDAP gateways.org.forgerock.util Provides common interfaces and classes.org.forgerock.util.time Provides a time service abstraction.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.protocols Contains various Directory Server connection handler implementations which will be used to accept connections from and perform communication with clients over various protocols. -
-
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.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.opendj.ldap
Fields in org.forgerock.opendj.ldap with type parameters of type Duration Modifier and Type Field Description static Option<Duration>
CommonLdapOptions. CONNECT_TIMEOUT
Specifies the connect timeout.static Option<Duration>
CommonLdapOptions. CONNECT_TIMEOUT
Specifies the connect timeout.static Option<Duration>
CommonLdapOptions. CONNECT_TIMEOUT
Specifies the connect timeout.static Option<Duration>
LdapClients. CONNECTION_POOL_IDLE_TIMEOUT
The time interval after which idle connections can be closed, shrinking the connection pool towards theminimum size
.static Option<Duration>
LdapClients. LDAP_CLIENT_KEEP_ALIVE_INTERVAL
Specifies the time between successive keep-alives (default interval is 300 seconds).static Option<Duration>
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).static Option<Duration>
LdapClients. LDAP_CLIENT_REQUEST_TIMEOUT
Specifies the operation timeout.static Option<Duration>
LdapClients. LOAD_BALANCER_AVAILABILITY_CHECK_INTERVAL
Specifies the time between successive availability check requests (default interval is 5 seconds).static Option<Duration>
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).static Option<Duration>
CommonLdapOptions. WRITE_TIMEOUT
Maximum time allowed for write operations to complete.static Option<Duration>
CommonLdapOptions. WRITE_TIMEOUT
Maximum time allowed for write operations to complete.static Option<Duration>
CommonLdapOptions. WRITE_TIMEOUT
Maximum time allowed for write operations to complete.Constructors in org.forgerock.opendj.ldap with parameters of type Duration Constructor Description TimeoutScheduler(com.forgerock.opendj.util.ReferenceCountedObject.Reference<ScheduledExecutorService> scheduler, Duration period)
Creates a newTimeoutScheduler
. -
Uses of Duration in org.forgerock.opendj.rest2ldap
Fields in org.forgerock.opendj.rest2ldap with type parameters of type Duration Modifier and Type Field Description static Option<Duration>
Rest2Ldap. SCHEMA_RELOAD_INTERVAL
Specifies the interval between successive attempts to detect changes in LDAP schema.static Option<Duration>
Rest2Ldap. SCHEMA_RETRY_INTERVAL
Specifies the interval between failed attempts to load the remote schema. -
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)
-
Uses of Duration in org.opends.server.api
Methods in org.opends.server.api with parameters of type Duration Modifier and Type Method Description protected static LdapException
ClientConnection. writeTimeLimitExceeded(Duration timeout)
Returns a new LdapException for max blocked write time limit exceeded. -
Uses of Duration in org.opends.server.protocols
Constructors in org.opends.server.protocols with parameters of type Duration Constructor Description BlockingBackpressureOperator(Duration timeout, Supplier<Exception> timeoutExceptionSupplier)
Creates a new operator allowing to plug non back-pressure awarePublisher
to aFlowable
chain.
-