Interface RestateEndpoint.LoggingContextSetter

  • Enclosing class:
    RestateEndpoint
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface RestateEndpoint.LoggingContextSetter
    Interface to abstract setting the logging context variables.

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