Package | Description |
---|---|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.opends.server.api |
Contains a number of API declarations for use throughout the
Directory Server.
|
org.opends.server.core |
Contains various classes that comprise the core of the Directory Server codebase.
|
org.opends.server.util |
Contains implementations for various Directory Server utility classes and methods which may be used throughout the
server but do not necessarily fit in elsewhere.
|
Modifier and Type | Field and Description |
---|---|
static GeneralizedTime |
GeneralizedTime.MIN_GENERALIZED_TIME
The smallest time representable using the generalized time syntax.
|
Modifier and Type | Method and Description |
---|---|
GeneralizedTime |
AttributeParser.asGeneralizedTime()
Returns the first value decoded as a
GeneralizedTime using the
generalized time syntax, or null if the attribute does not
contain any values. |
GeneralizedTime |
AttributeParser.asGeneralizedTime(GeneralizedTime defaultValue)
Returns the first value decoded as an
GeneralizedTime using the
generalized time syntax, or defaultValue if the attribute does
not contain any values. |
static GeneralizedTime |
GeneralizedTime.currentTime()
Returns a generalized time whose value is the current time, using the
default time zone and locale.
|
static GeneralizedTime |
GeneralizedTime.valueOf(Calendar calendar)
Returns a generalized time representing the provided
Calendar . |
static GeneralizedTime |
GeneralizedTime.valueOf(Date date)
Returns a generalized time representing the provided
Date . |
static GeneralizedTime |
GeneralizedTime.valueOf(long timeMS)
Returns a generalized time representing the provided time in milliseconds
since the epoch.
|
static GeneralizedTime |
GeneralizedTime.valueOf(String time)
Parses the provided string as an LDAP generalized time.
|
Modifier and Type | Method and Description |
---|---|
Set<GeneralizedTime> |
AttributeParser.asSetOfGeneralizedTime(Collection<GeneralizedTime> defaultValues)
Returns the values decoded as a set of
GeneralizedTime s using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
Set<GeneralizedTime> |
AttributeParser.asSetOfGeneralizedTime(GeneralizedTime... defaultValues)
Returns the values decoded as a set of
GeneralizedTime s using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
static Function<ByteString,GeneralizedTime,LocalizedIllegalArgumentException> |
Functions.byteStringToGeneralizedTime()
Returns a function which parses generalized time strings.
|
Modifier and Type | Method and Description |
---|---|
GeneralizedTime |
AttributeParser.asGeneralizedTime(GeneralizedTime defaultValue)
Returns the first value decoded as an
GeneralizedTime using the
generalized time syntax, or defaultValue if the attribute does
not contain any values. |
Set<GeneralizedTime> |
AttributeParser.asSetOfGeneralizedTime(GeneralizedTime... defaultValues)
Returns the values decoded as a set of
GeneralizedTime s using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
int |
GeneralizedTime.compareTo(GeneralizedTime o) |
Modifier and Type | Method and Description |
---|---|
Set<GeneralizedTime> |
AttributeParser.asSetOfGeneralizedTime(Collection<GeneralizedTime> defaultValues)
Returns the values decoded as a set of
GeneralizedTime s using the
generalized time syntax, or defaultValues if the attribute does
not contain any values. |
Modifier and Type | Method and Description |
---|---|
void |
MeterRegistryHolder.dateTimeGauge(String name,
String ldapAttributeName,
Supplier<GeneralizedTime> valueFunction)
Creates both an object gauge that is never added to the parent meter registry (it only appears in ldap meters),
and a gauge returning a double that will be added to the parent meter registry converting the
GeneralizedTime to a double by using the getTimeInMillis() function. |
void |
MeterRegistryHolder.dateTimeGauge(String name,
Supplier<GeneralizedTime> valueFunction)
Creates both an object gauge that is never added to the parent meter registry (it only appears in ldap meters),
and a gauge returning a double that will be added to the parent meter registry converting the
GeneralizedTime to a double by using the getTimeInMillis() function. |
Modifier and Type | Method and Description |
---|---|
static GeneralizedTime |
DirectoryServer.getStartTime()
Retrieves the time when the Directory Server was started.
|
Modifier and Type | Method and Description |
---|---|
static GeneralizedTime |
TimeThread.getGeneralizedTime()
Retrieves a
GeneralizedTime containing the time at the last update. |
Copyright 2010-2018 ForgeRock AS.