Class OrderedExecutor.ContextPreservingRunnable

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    OrderedExecutor

    static class OrderedExecutor.ContextPreservingRunnable
    extends java.lang.Object
    implements java.lang.Runnable
    Decorator class for a runnable that preserves MDC context.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • ContextPreservingRunnable

        ContextPreservingRunnable​(java.lang.Runnable runnable)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable