@NotExtensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class AddResultAccessLogMessage extends AddRequestAccessLogMessage implements OperationResultAccessLogMessage
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.
Constructor and Description |
---|
AddResultAccessLogMessage(LogMessage m)
Creates a new add result access log message from the provided message
string.
|
AddResultAccessLogMessage(java.lang.String s)
Creates a new add result access log message from the provided message
string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdditionalInformation()
Retrieves a message with additional information about the result of the
operation.
|
java.lang.String |
getAlternateAuthorizationDN()
Retrieves the alternate authorization DN for the operation.
|
AssuredReplicationLocalLevel |
getAssuredReplicationLocalLevel()
Retrieves the local level that will be used for assured replication
processing, if available.
|
AssuredReplicationRemoteLevel |
getAssuredReplicationRemoteLevel()
Retrieves the remote level that will be used for assured replication
processing, if available.
|
java.lang.Long |
getAssuredReplicationTimeoutMillis()
Retrieves the maximum length of time in milliseconds that the server will
delay the response to the client while waiting for the replication
assurance requirement to be satisfied.
|
java.lang.String |
getDiagnosticMessage()
Retrieves the diagnostic message for the operation.
|
java.util.List<java.lang.String> |
getIndexesWithKeysAccessedNearEntryLimit()
Retrieves the names of any indexes for which one or more keys near
(typically, within 80% of) the index entry limit were accessed while
processing the operation.
|
java.util.List<java.lang.String> |
getIndexesWithKeysAccessedOverEntryLimit()
Retrieves the names of any indexes for which one or more keys over the
index entry limit were accessed while processing the operation.
|
java.lang.String |
getIntermediateClientResult()
Retrieves the content of the intermediate client result for the
operation.
|
java.lang.Long |
getIntermediateResponsesReturned()
Retrieves the number of intermediate response messages returned in the
course of processing the operation.
|
java.lang.String |
getMatchedDN()
Retrieves the matched DN for the operation.
|
AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
java.util.List<java.lang.String> |
getMissingPrivileges()
Retrieves the names of any privileges that would have been required for
processing the operation but that the requester did not have.
|
java.util.List<java.lang.String> |
getPreAuthorizationUsedPrivileges()
Retrieves the names of any privileges used during the course of processing
the operation before an alternate authorization identity was assigned.
|
java.lang.Double |
getProcessingTimeMillis()
Retrieves the length of time in milliseconds required to process the
operation.
|
java.lang.Double |
getQueueTimeMillis()
Retrieves the length of time in milliseconds the operation was required to
wait on the work queue.
|
java.util.List<java.lang.String> |
getReferralURLs()
Retrieves the list of referral URLs for the operation.
|
java.lang.String |
getReplicationChangeID()
Retrieves the replication change ID for the operation, if available.
|
java.util.List<java.lang.String> |
getResponseControlOIDs()
Retrieves the OIDs of any response controls contained in the log message.
|
java.lang.Boolean |
getResponseDelayedByAssurance()
Indicates whether the operation response to the client will be delayed
until replication assurance has been satisfied or the timeout has occurred.
|
ResultCode |
getResultCode()
Retrieves the result code for the operation.
|
java.util.List<java.lang.String> |
getServersAccessed()
Retrieves a list of the additional servers that were accessed in the course
of processing the operation.
|
java.lang.String |
getTargetHost()
Retrieves the address of the backend server to which the request has been
forwarded.
|
java.lang.Integer |
getTargetPort()
Retrieves the port of the backend server to which the request has been
forwarded.
|
java.lang.String |
getTargetProtocol()
Retrieves the protocol used to forward the request to the backend server.
|
java.lang.Boolean |
getUncachedDataAccessed()
Indicates whether the server accessed any uncached data in the course of
processing the operation.
|
java.lang.String |
getUndeleteFromDN()
Retrieves the DN of the soft-deleted entry from which the contents of the
added entry were obtained, if it was an undelete rather than a normal add.
|
java.util.List<java.lang.String> |
getUsedPrivileges()
Retrieves the names of any privileges used during the course of processing
the operation.
|
getAttributeNames, getDN, getOperationType
getIntermediateClientRequest, getOperationPurpose, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, usingAdminSessionWorkerThread
getMessageID, getOperationID, getOrigin, getTriggeredByConnectionID, getTriggeredByOperationID
getConnectionID, getInstanceName, getProductName, getStartupID, parse
getNamedValue, getNamedValueAsBoolean, getNamedValueAsDouble, getNamedValueAsInteger, getNamedValueAsLong, getNamedValues, getTimestamp, getUnnamedValues, hasUnnamedValue, toString
public AddResultAccessLogMessage(@NotNull java.lang.String s) throws LogException
s
- The string to be parsed as an add result access log message.LogException
- If the provided string cannot be parsed as a valid
log message.public AddResultAccessLogMessage(@NotNull LogMessage m)
m
- The log message to be parsed as an add result access log
message.@Nullable public ResultCode getResultCode()
getResultCode
in interface MinimalOperationResultAccessLogMessage
null
if it is not
included in the log message.@Nullable public java.lang.String getDiagnosticMessage()
getDiagnosticMessage
in interface MinimalOperationResultAccessLogMessage
null
if it is
not included in the log message.@Nullable public java.lang.String getAdditionalInformation()
getAdditionalInformation
in interface MinimalOperationResultAccessLogMessage
null
if it is not included in the log
message.@Nullable public java.lang.String getMatchedDN()
getMatchedDN
in interface MinimalOperationResultAccessLogMessage
null
if it is not
included in the log message.@NotNull public java.util.List<java.lang.String> getReferralURLs()
getReferralURLs
in interface MinimalOperationResultAccessLogMessage
@Nullable public java.lang.Long getIntermediateResponsesReturned()
getIntermediateResponsesReturned
in interface OperationResultAccessLogMessage
null
if it is not included in the log message.@Nullable public java.lang.Double getProcessingTimeMillis()
getProcessingTimeMillis
in interface MinimalOperationResultAccessLogMessage
null
if it is not included in the log
message.@Nullable public java.lang.Double getQueueTimeMillis()
getQueueTimeMillis
in interface MinimalOperationResultAccessLogMessage
null
if it is not included in
the log message.@NotNull public java.util.List<java.lang.String> getResponseControlOIDs()
getResponseControlOIDs
in interface OperationResultAccessLogMessage
@NotNull public java.util.List<java.lang.String> getServersAccessed()
getServersAccessed
in interface OperationResultAccessLogMessage
@Nullable public java.lang.Boolean getUncachedDataAccessed()
true
if the server was known to access uncached data in
the course of processing the operation, false
if the
server was known not to access uncached data, or null
if
it is not included in the log message (and the server likely did
not access uncached data).@Nullable public java.lang.String getIntermediateClientResult()
getIntermediateClientResult
in interface OperationResultAccessLogMessage
null
if it is not included in the log message.@Nullable public java.lang.String getAlternateAuthorizationDN()
null
if it is not included in the log message.@Nullable public java.lang.String getReplicationChangeID()
null
if it
is not included in the log message.@Nullable public java.lang.String getTargetHost()
null
if it is not included in the log
message.@Nullable public java.lang.Integer getTargetPort()
null
if it is not included in the log
message.@Nullable public java.lang.String getTargetProtocol()
null
if it is not included in the log message.@Nullable public java.lang.String getUndeleteFromDN()
null
if it is not included
in the log message (e.g., because the operation was a normal add
rather than an undelete).@Nullable public AssuredReplicationLocalLevel getAssuredReplicationLocalLevel()
null
if this is not included in the log
message (e.g., because assured replication will not be performed
for the operation).@Nullable public AssuredReplicationRemoteLevel getAssuredReplicationRemoteLevel()
null
if this is not included in the log
message (e.g., because assured replication will not be performed
for the operation).@Nullable public java.lang.Long getAssuredReplicationTimeoutMillis()
null
if this is
not included in the log message (e.g., because assured replication
will not be performed for the operation).@Nullable public java.lang.Boolean getResponseDelayedByAssurance()
true
if the operation response to the client will be
delayed until replication assurance has been satisfied,
false
if the response will not be delayed by assurance
processing, or null
if this was not included in the
log message (e.g., because assured replication will not be
performed for the operation)@NotNull public java.util.List<java.lang.String> getUsedPrivileges()
@NotNull public java.util.List<java.lang.String> getPreAuthorizationUsedPrivileges()
@NotNull public java.util.List<java.lang.String> getMissingPrivileges()
@NotNull public java.util.List<java.lang.String> getIndexesWithKeysAccessedNearEntryLimit()
@NotNull public java.util.List<java.lang.String> getIndexesWithKeysAccessedOverEntryLimit()
@NotNull public AccessLogMessageType getMessageType()
getMessageType
in class OperationRequestAccessLogMessage