Interface NexusOperationOutboundCallsInterceptor
- All Known Implementing Classes:
NexusOperationOutboundCallsInterceptorBase,RootNexusOperationOutboundCallsInterceptor
Can be used to intercept calls from a Nexus operation into the Temporal APIs.
Prefer extending NexusOperationOutboundCallsInterceptorBase and overriding only the
methods you need instead of implementing this interface directly. NexusOperationOutboundCallsInterceptorBase provides correct default implementations to all the
methods of this interface.
An instance may be created in NexusOperationInboundCallsInterceptor.init(NexusOperationOutboundCallsInterceptor) and set by
passing it into init method of the next NexusOperationInboundCallsInterceptor The implementation must forward all the calls to the
outbound interceptor passed as a outboundCalls parameter to the init call.
-
Method Summary
Modifier and TypeMethodDescriptiongetInfo()Intercepts call to get the Nexus info in a Nexus operation.com.uber.m3.tally.ScopeIntercepts call to get the metric scope in a Nexus operation.Intercepts call to get the workflow client in a Nexus operation.
-
Method Details
-
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.
-