Class DurationCollectSupportDataLogCaptureWindow
- java.lang.Object
-
- com.unboundid.ldap.sdk.unboundidds.extensions.CollectSupportDataLogCaptureWindow
-
- com.unboundid.ldap.sdk.unboundidds.extensions.DurationCollectSupportDataLogCaptureWindow
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DurationCollectSupportDataLogCaptureWindow extends CollectSupportDataLogCaptureWindow
This class provides a collect support data log capture window implementation that indicates that the tool should capture information for a specified length of time up to the time theCollectSupportDataExtendedRequest
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.- See Also:
CollectSupportDataExtendedRequest
, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.unboundid.ldap.sdk.unboundidds.extensions.CollectSupportDataLogCaptureWindow
TYPE_DURATION, TYPE_TIME_WINDOW, TYPE_TOOL_DEFAULT
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.unboundid.ldap.sdk.unboundidds.extensions.CollectSupportDataLogCaptureWindow
decode, toString
-
-
-
-
Constructor Detail
-
DurationCollectSupportDataLogCaptureWindow
public 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.- Parameters:
durationMillis
- The duration of log content to capture, in milliseconds. It must be greater than or equal to zero.
-
-
Method Detail
-
getDurationMillis
public long getDurationMillis()
Retrieves the duration, in milliseconds, of log content that should be included in the support data archive.- Returns:
- The duration, in milliseconds, of log content that should be included in the support data archive.
-
encode
public ASN1Element encode()
Encodes this collect support data log capture window object to an ASN.1 element.- Specified by:
encode
in classCollectSupportDataLogCaptureWindow
- Returns:
- The ASN.1 element that contains an encoded representation of this collect support data log capture window object.
-
toString
public void toString(java.lang.StringBuilder buffer)
Appends a string representation of this collect support data log capture window object to the provided buffer.- Specified by:
toString
in classCollectSupportDataLogCaptureWindow
- Parameters:
buffer
- The buffer to which the string representation will be appended. It must not benull
.
-
-