@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DurationCollectSupportDataLogCaptureWindow extends CollectSupportDataLogCaptureWindow
CollectSupportDataExtendedRequest
was received.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
CollectSupportDataExtendedRequest
,
Serialized FormTYPE_DURATION, TYPE_HEAD_AND_TAIL_SIZE, TYPE_TIME_WINDOW, TYPE_TOOL_DEFAULT
Constructor and Description |
---|
DurationCollectSupportDataLogCaptureWindow(long durationMillis)
Creates a new instance of this collect support data log capture window
object that will capture log content for the specified duration.
|
Modifier and Type | Method and Description |
---|---|
ASN1Element |
encode()
Encodes this collect support data log capture window object to an ASN.1
element.
|
long |
getDurationMillis()
Retrieves the duration, in milliseconds, of log content that should be
included in the support data archive.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this collect support data log capture
window object to the provided buffer.
|
decode, toString
public DurationCollectSupportDataLogCaptureWindow(long durationMillis)
durationMillis
- The duration of log content to capture, in
milliseconds. It must be greater than or equal to
zero.public long getDurationMillis()
@NotNull public ASN1Element encode()
encode
in class CollectSupportDataLogCaptureWindow
public void toString(@NotNull java.lang.StringBuilder buffer)
toString
in class CollectSupportDataLogCaptureWindow
buffer
- The buffer to which the string representation will be
appended. It must not be null
.