Interface LimitAlgorithm.Outcome.Deferred
- All Superinterfaces:
LimitAlgorithm.Outcome
- Enclosing interface:
LimitAlgorithm.Outcome
Behavior of an
LimitAlgorithm.Outcome representing a deferred decision.-
Nested Class Summary
Nested classes/interfaces inherited from interface LimitAlgorithm.Outcome
LimitAlgorithm.Outcome.Accepted, LimitAlgorithm.Outcome.Deferred, LimitAlgorithm.Outcome.Disposition, LimitAlgorithm.Outcome.TimingModifier and TypeInterfaceDescriptionstatic interfaceBehavior of anLimitAlgorithm.Outcomerepresenting an accepted work item.static interfaceBehavior of anLimitAlgorithm.Outcomerepresenting a deferred decision.static enumDisposition of the work item.static enumWhen the algorithm made its decision relative to the moment when it was asked about a particular work item. -
Method Summary
Modifier and TypeMethodDescriptionlongEnd (in system nanos) of the work item's waiting time.longStart (in system nanos) of the work item's waiting time.Methods inherited from interface LimitAlgorithm.Outcome
algorithmType, disposition, originName, timingModifier and TypeMethodDescriptionName of the limit algorithm which decided whether to allow or prevent processing of the work item.TheLimitAlgorithm.Outcome.Dispositionof the work item.Origin of the work item.timing()TheLimitAlgorithm.Outcome.Timingof the decision about the work item.
-
Method Details
-
waitStartNanoTime
long waitStartNanoTime()Start (in system nanos) of the work item's waiting time.- Returns:
- wait start time (nanoseconds)
-
waitEndNanoTime
long waitEndNanoTime()End (in system nanos) of the work item's waiting time.- Returns:
- wait end (nanoseconds)
-