Package io.mats3.api.intercept
Interface MatsStageInterceptor.StageInterceptContext
- All Known Subinterfaces:
MatsStageInterceptor.StageCommonContext
,MatsStageInterceptor.StageCompletedContext
,MatsStageInterceptor.StageInterceptOutgoingMessageContext
,MatsStageInterceptor.StageInterceptUserLambdaContext
,MatsStageInterceptor.StagePreprocessAndDeserializeErrorContext
,MatsStageInterceptor.StageReceivedContext
- Enclosing interface:
- MatsStageInterceptor
public static interface MatsStageInterceptor.StageInterceptContext
-
Method Details
-
getStage
MatsStage<?,?, getStage()?> - Returns:
- the
MatsStage
in question.
-
getStartedInstant
Instant getStartedInstant()- Returns:
- when the message was received, as
Instant.now()
, as early as possible right after the message system returns it (before decoding it etc).
-
getStartedNanoTime
long getStartedNanoTime()- Returns:
- when the message was received, as
System.nanoTime()
, as early as possible right after the message system returns it (before decoding it etc).
-