@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class TextFormattedSearchResultAccessLogMessage extends TextFormattedSearchRequestAccessLogMessage implements SearchResultAccessLogMessage
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.
NO_FIELD_NAME
Constructor and Description |
---|
TextFormattedSearchResultAccessLogMessage(java.lang.String logMessageString)
Creates a new text-formatted search 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.
|
java.lang.String |
getDiagnosticMessage()
Retrieves the diagnostic message for the operation.
|
java.lang.Long |
getEntriesReturned()
Retrieves the number of entries returned to the client.
|
java.util.Set<java.lang.String> |
getIndexesWithKeysAccessedExceedingEntryLimit()
Retrieves the names of any indexes for which one or more keys over the
index entry limit were accessed while processing the operation.
|
java.util.Set<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.lang.String |
getIntermediateClientResponseControl()
Retrieves a string representation of an intermediate client response
control included in the log message.
|
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.Set<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.Set<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.util.List<java.lang.String> |
getReferralURLs()
Retrieves the list of referral URLs for the operation.
|
java.util.Set<java.lang.String> |
getResponseControlOIDs()
Retrieves the OIDs of any response controls contained in the log message.
|
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.Boolean |
getUnindexed()
Indicates whether the search was unindexed.
|
java.util.Set<java.lang.String> |
getUsedPrivileges()
Retrieves the names of any privileges used during the course of processing
the operation.
|
java.lang.Double |
getWorkQueueWaitTimeMillis()
Retrieves the length of time in milliseconds the operation was required to
wait on the work queue.
|
getBaseDN, getDereferencePolicy, getFilter, getOperationType, getRequestedAttributes, getScope, getSizeLimit, getTimeLimitSeconds, getTypesOnly
getAdministrativeOperationMessage, getIntermediateClientRequestControl, getMessageID, getOperationID, getOperationPurposeRequestControl, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThread
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBaseDN, getDereferencePolicy, getFilter, getRequestedAttributes, getScope, getSizeLimit, getTimeLimitSeconds, getTypesOnly
getAdministrativeOperationMessage, getMessageID, getOperationID, getOperationType, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThread
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
public TextFormattedSearchResultAccessLogMessage(@NotNull java.lang.String logMessageString) throws LogException
logMessageString
- The string representation of this log message.
It must not be null
.LogException
- If the provided string cannot be parsed as a valid
log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in interface AccessLogMessage
getMessageType
in class TextFormattedRequestAccessLogMessage
@Nullable public ResultCode getResultCode()
getResultCode
in interface OperationResultAccessLogMessage
null
if it is not
included in the log message.@Nullable public java.lang.String getDiagnosticMessage()
getDiagnosticMessage
in interface OperationResultAccessLogMessage
null
if it is
not included in the log message.@Nullable public java.lang.String getAdditionalInformation()
getAdditionalInformation
in interface OperationResultAccessLogMessage
null
if it is not included in the log
message.@Nullable public java.lang.String getMatchedDN()
getMatchedDN
in interface OperationResultAccessLogMessage
null
if it is not
included in the log message.@NotNull public java.util.List<java.lang.String> getReferralURLs()
getReferralURLs
in interface OperationResultAccessLogMessage
@Nullable public java.lang.Double getProcessingTimeMillis()
getProcessingTimeMillis
in interface OperationResultAccessLogMessage
null
if it is not included in the log
message.@Nullable public java.lang.Double getWorkQueueWaitTimeMillis()
getWorkQueueWaitTimeMillis
in interface OperationResultAccessLogMessage
null
if it is not included in
the log message.@NotNull public java.util.Set<java.lang.String> getResponseControlOIDs()
getResponseControlOIDs
in interface OperationResultAccessLogMessage
@Nullable public java.lang.Long getIntermediateResponsesReturned()
getIntermediateResponsesReturned
in interface OperationResultAccessLogMessage
null
if it is not included in the log message.@NotNull public java.util.List<java.lang.String> getServersAccessed()
getServersAccessed
in interface OperationResultAccessLogMessage
@Nullable public java.lang.Boolean getUncachedDataAccessed()
getUncachedDataAccessed
in interface OperationResultAccessLogMessage
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).@NotNull public java.util.Set<java.lang.String> getUsedPrivileges()
getUsedPrivileges
in interface OperationResultAccessLogMessage
@NotNull public java.util.Set<java.lang.String> getPreAuthorizationUsedPrivileges()
getPreAuthorizationUsedPrivileges
in interface OperationResultAccessLogMessage
@NotNull public java.util.Set<java.lang.String> getMissingPrivileges()
getMissingPrivileges
in interface OperationResultAccessLogMessage
@Nullable public java.lang.String getAlternateAuthorizationDN()
getAlternateAuthorizationDN
in interface SearchResultAccessLogMessage
null
if it is not included in the log message.@NotNull public java.util.Set<java.lang.String> getIndexesWithKeysAccessedNearEntryLimit()
getIndexesWithKeysAccessedNearEntryLimit
in interface SearchResultAccessLogMessage
@NotNull public java.util.Set<java.lang.String> getIndexesWithKeysAccessedExceedingEntryLimit()
getIndexesWithKeysAccessedExceedingEntryLimit
in interface SearchResultAccessLogMessage
@Nullable public java.lang.String getIntermediateClientResponseControl()
null
if there is none.@Nullable public java.lang.String getTargetHost()
getTargetHost
in interface OperationForwardAccessLogMessage
null
if it is not included in the log
message.@Nullable public java.lang.Integer getTargetPort()
getTargetPort
in interface OperationForwardAccessLogMessage
null
if it is not included in the log
message.@Nullable public java.lang.String getTargetProtocol()
getTargetProtocol
in interface OperationForwardAccessLogMessage
null
if it is not included in the log message.@Nullable public java.lang.Long getEntriesReturned()
getEntriesReturned
in interface SearchResultAccessLogMessage
null
if
it is not included in the log message.@Nullable public java.lang.Boolean getUnindexed()
getUnindexed
in interface SearchResultAccessLogMessage
Boolean.TRUE
if the search was unindexed,
Boolean.FALSE
if it was not, or null
if it is not
included in the log message.