Class ThreadLocalRunnable

java.lang.Object
com.aoapps.lang.concurrent.ThreadLocalRunnable
All Implemented Interfaces:
Runnable

public class ThreadLocalRunnable extends Object implements Runnable
Copies a ThreadLocal value from the current thread onto the thread that runs the provided runnable.
See Also:
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable