|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface CompletedOperationContext
This interface defines a set of methods that may be used to obtain information about an operation for which processing has been completed.
Method Summary | |
---|---|
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. |
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. |
Methods inherited from interface com.unboundid.directory.sdk.common.types.OperationContext |
---|
getAttachment, getAuthorizationDN, getClientContext, getConnectionID, getInternalRootConnection, getInternalRootConnection, getInternalUserConnection, getInternalUserConnection, getMessageID, getOperationID, getOperationType, getRequest, getServerContext, isAdministrativeOperation, isInternalOperation, isReplicationOperation, isSecure, setAttachment, toString |
Method Detail |
---|
long getEnqueueTime()
long getDequeueTime()
long getQueueWaitTimeMillis()
long getProcessingStartTime()
long getProcessingEndTime()
long getProcessingTimeMillis()
long getProcessingTimeNanos()
GenericResult getResult()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |