Interface KeyPerformanceIndicatorSupport.DeferrableRequestContext
- All Superinterfaces:
KeyPerformanceIndicatorSupport.Context
- Enclosing interface:
KeyPerformanceIndicatorSupport
public static interface KeyPerformanceIndicatorSupport.DeferrableRequestContext
extends KeyPerformanceIndicatorSupport.Context
Added per-request key performance indicator context behavior for requests for which processing might be deferred until
some time after receipt of the request (i.e., some time after request handling begins).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HandlerAHandlerwhich registers a KPI deferrable request context in the request's context.Fields inherited from interface KeyPerformanceIndicatorSupport.Context
NO_OPModifier and TypeFieldDescriptionstatic final KeyPerformanceIndicatorSupport.ContextNo-op implementation ofContext. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Provides aContextfor use with a deferrable request.default voidRecords that a request is about to begin its processing.Methods inherited from interface KeyPerformanceIndicatorSupport.Context
requestHandlingCompleted, requestHandlingStarted, requestProcessingCompletedModifier and TypeMethodDescriptiondefault voidrequestHandlingCompleted(boolean isSuccessful) Records that handling of a request has completed.default voidrequestHandlingStarted(KeyPerformanceIndicatorSupport.Metrics keyPerformanceIndicatorMetrics) Records that handling of the request is about to begin.default voidrequestProcessingCompleted(boolean isSuccessful) Records that a request has completed its processing.
-
Field Details
-
CONTEXT_SETTING_HANDLER
-
-
Method Details
-
create
Provides aContextfor use with a deferrable request.- Returns:
- new
Context
-
requestProcessingStarted
default void requestProcessingStarted()Records that a request is about to begin its processing.
-