@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface CompletedOperationContext extends OperationContext
Modifier and Type | Method and Description |
---|---|
long |
getDequeueTime()
Retrieves the time that the operation was removed from the work queue, if
available.
|
long |
getEnqueueTime()
Retrieves the time that the operation was added to the work queue, if
available.
|
java.util.Set<java.lang.String> |
getMissingPrivilegeNames()
Retrieves the names of any privileges that were required during the course
of processing the operation that the requester did not have.
|
java.util.Set<java.lang.String> |
getPreAuthorizationUsedPrivilegeNames()
Retrieves the names of any privileges used before the assignment of an
alternate authorization identity.
|
long |
getProcessingEndTime()
Retrieves the time that the worker thread completed processing for the
operation.
|
long |
getProcessingStartTime()
Retrieves the time that the worker thread began processing the operation.
|
long |
getProcessingTimeMillis()
Retrieves the length of time in milliseconds that the worker thread spent
processing the operation.
|
long |
getProcessingTimeNanos()
Retrieves the length of time in nanoseconds that the worker thread spent
processing the operation.
|
long |
getQueueWaitTimeMillis()
Retrieves the length of time in milliseconds that the operation was held in
the work queue before being picked up for processing by a worker thread.
|
GenericResult |
getResult()
Retrieves information about the result of the operation processing.
|
java.util.Set<java.lang.String> |
getUsedPrivilegeNames(boolean includePreAuthorizationPrivileges)
Retrieves the names of the privileges used in the course of processing the
operation.
|
addCustomLogElement, appendAdditionalLogMessage, deregisterOperationCompletedListener, getAttachment, getAuthorizationDN, getClientConnectionPolicyDN, getClientConnectionPolicyName, getClientContext, getConnectionID, getCustomLogElements, getInternalRootConnection, getInternalRootConnection, getInternalUserConnection, getInternalUserConnection, getMessageID, getOperationID, getOperationType, getRequest, getServerContext, isAdministrativeOperation, isInternalOperation, isReplicationOperation, isSecure, registerOperationCompletedListener, setAttachment, toString
long getEnqueueTime()
long getDequeueTime()
long getQueueWaitTimeMillis()
long getProcessingStartTime()
long getProcessingEndTime()
long getProcessingTimeMillis()
long getProcessingTimeNanos()
GenericResult getResult()
java.util.Set<java.lang.String> getUsedPrivilegeNames(boolean includePreAuthorizationPrivileges)
includePreAuthorizationPrivileges
- Indicates whether the returned
set of privileges should include
any privileges used before the
assignment of an alternate
authorization identity.java.util.Set<java.lang.String> getPreAuthorizationUsedPrivilegeNames()
java.util.Set<java.lang.String> getMissingPrivilegeNames()