Package io.mats3.api.intercept
Interface MatsInitiateInterceptor.InitiateInterceptContext
- All Known Subinterfaces:
MatsInitiateInterceptor.InitiateCompletedContext,MatsInitiateInterceptor.InitiateInterceptOutgoingMessagesContext,MatsInitiateInterceptor.InitiateInterceptUserLambdaContext,MatsInitiateInterceptor.InitiateStartedContext
- Enclosing interface:
- MatsInitiateInterceptor
public static interface MatsInitiateInterceptor.InitiateInterceptContext
-
Method Summary
Modifier and TypeMethodDescriptionlong
-
Method Details
-
getInitiator
MatsInitiator getInitiator()- Returns:
- the
MatsInitiatoremployed for this initiation.
-
getStartedInstant
Instant getStartedInstant()- Returns:
- when the initiation was started, as
Instant.now(), i.e. whenMatsInitiator.initiate(InitiateLambda)was invoked.
-
getStartedNanoTime
long getStartedNanoTime()- Returns:
- when the initiation was started, as
System.nanoTime(), i.e. when
-