Class RootNexusOperationInboundCallsInterceptor
java.lang.Object
io.temporal.internal.nexus.RootNexusOperationInboundCallsInterceptor
- All Implemented Interfaces:
NexusOperationInboundCallsInterceptor
public class RootNexusOperationInboundCallsInterceptor
extends Object
implements NexusOperationInboundCallsInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.temporal.common.interceptors.NexusOperationInboundCallsInterceptor
NexusOperationInboundCallsInterceptor.CancelOperationInput, NexusOperationInboundCallsInterceptor.CancelOperationOutput, NexusOperationInboundCallsInterceptor.StartOperationInput, NexusOperationInboundCallsInterceptor.StartOperationOutput -
Method Summary
Modifier and TypeMethodDescriptionIntercepts a call to cancel a Nexus operation.voidinit(NexusOperationOutboundCallsInterceptor outboundCalls) Intercepts a call to start a Nexus operation.
-
Method Details
-
init
- Specified by:
initin interfaceNexusOperationInboundCallsInterceptor
-
startOperation
public NexusOperationInboundCallsInterceptor.StartOperationOutput startOperation(NexusOperationInboundCallsInterceptor.StartOperationInput input) throws io.nexusrpc.OperationException Description copied from interface:NexusOperationInboundCallsInterceptorIntercepts a call to start a Nexus operation.- Specified by:
startOperationin interfaceNexusOperationInboundCallsInterceptor- Parameters:
input- input to the operation start.- Returns:
- result of the operation start.
- Throws:
io.nexusrpc.OperationException- if the operation start failed.
-
cancelOperation
public NexusOperationInboundCallsInterceptor.CancelOperationOutput cancelOperation(NexusOperationInboundCallsInterceptor.CancelOperationInput input) Description copied from interface:NexusOperationInboundCallsInterceptorIntercepts a call to cancel a Nexus operation.- Specified by:
cancelOperationin interfaceNexusOperationInboundCallsInterceptor- Parameters:
input- input to the operation cancel.- Returns:
- result of the operation cancel.
-