Interface RestateGrpcServer.LoggingContextSetter

  • Enclosing class:
    RestateGrpcServer

    public static interface RestateGrpcServer.LoggingContextSetter
    Interface to abstract setting the logging context variables.

    In classic multithreaded environments, you can just use THREAD_LOCAL_INSTANCE, though the caller of RestateGrpcServer must take care of the cleanup of the thread local map.

    • Method Detail

      • setServiceMethod

        void setServiceMethod​(java.lang.String serviceMethod)
      • setInvocationId

        void setInvocationId​(java.lang.String id)
      • setInvocationStatus

        void setInvocationStatus​(java.lang.String invocationStatus)