Package io.temporal.common.interceptors
Interface NexusOperationOutboundCallsInterceptor
-
- All Known Implementing Classes:
NexusOperationOutboundCallsInterceptorBase,RootNexusOperationOutboundCallsInterceptor
public interface NexusOperationOutboundCallsInterceptorCan be used to intercept calls from a Nexus operation into the Temporal APIs.Prefer extending
NexusOperationOutboundCallsInterceptorBaseand overriding only the methods you need instead of implementing this interface directly.NexusOperationOutboundCallsInterceptorBaseprovides correct default implementations to all the methods of this interface.An instance may be created in
NexusOperationInboundCallsInterceptor.init(NexusOperationOutboundCallsInterceptor)and set by passing it intoinitmethod of thenextNexusOperationInboundCallsInterceptorThe implementation must forward all the calls to the outbound interceptor passed as aoutboundCallsparameter to theinitcall.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NexusOperationInfogetInfo()Intercepts call to get the Nexus info in a Nexus operation.com.uber.m3.tally.ScopegetMetricsScope()Intercepts call to get the metric scope in a Nexus operation.WorkflowClientgetWorkflowClient()Intercepts call to get the workflow client in a Nexus operation.
-
-
-
Method Detail
-
getInfo
NexusOperationInfo getInfo()
Intercepts call to get the Nexus info in a Nexus operation.
-
getMetricsScope
com.uber.m3.tally.Scope getMetricsScope()
Intercepts call to get the metric scope in a Nexus operation.
-
getWorkflowClient
WorkflowClient getWorkflowClient()
Intercepts call to get the workflow client in a Nexus operation.
-
-