Class TracingWorkerInterceptor

  • All Implemented Interfaces:
    io.temporal.common.interceptors.WorkerInterceptor

    public class TracingWorkerInterceptor
    extends java.lang.Object
    implements io.temporal.common.interceptors.WorkerInterceptor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void assertExpected()  
      java.lang.String getTrace()  
      io.temporal.common.interceptors.ActivityInboundCallsInterceptor interceptActivity​(io.temporal.common.interceptors.ActivityInboundCallsInterceptor next)  
      io.temporal.common.interceptors.NexusOperationInboundCallsInterceptor interceptNexusOperation​(io.nexusrpc.handler.OperationContext context, io.temporal.common.interceptors.NexusOperationInboundCallsInterceptor next)  
      io.temporal.common.interceptors.WorkflowInboundCallsInterceptor interceptWorkflow​(io.temporal.common.interceptors.WorkflowInboundCallsInterceptor next)  
      void setExpected​(java.lang.String... expected)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTrace

        public java.lang.String getTrace()
      • setExpected

        public void setExpected​(java.lang.String... expected)
      • assertExpected

        public void assertExpected()
      • interceptWorkflow

        public io.temporal.common.interceptors.WorkflowInboundCallsInterceptor interceptWorkflow​(io.temporal.common.interceptors.WorkflowInboundCallsInterceptor next)
        Specified by:
        interceptWorkflow in interface io.temporal.common.interceptors.WorkerInterceptor
      • interceptActivity

        public io.temporal.common.interceptors.ActivityInboundCallsInterceptor interceptActivity​(io.temporal.common.interceptors.ActivityInboundCallsInterceptor next)
        Specified by:
        interceptActivity in interface io.temporal.common.interceptors.WorkerInterceptor
      • interceptNexusOperation

        public io.temporal.common.interceptors.NexusOperationInboundCallsInterceptor interceptNexusOperation​(io.nexusrpc.handler.OperationContext context,
                                                                                                             io.temporal.common.interceptors.NexusOperationInboundCallsInterceptor next)
        Specified by:
        interceptNexusOperation in interface io.temporal.common.interceptors.WorkerInterceptor