Class Thread.Holder

java.lang.Object
org.burningwave.core.concurrent.Thread.Holder
All Implemented Interfaces:
AutoCloseable, Closeable, Identifiable, ManagedLogger
Enclosing class:
Thread

public static class Thread.Holder
extends Object
implements Closeable, ManagedLogger
  • Constructor Details

    • Holder

      public Holder()
    • Holder

      public Holder​(Thread.Supplier threadSupplier)
  • Method Details

    • startLooping

      public String startLooping​(boolean isDaemon, int priority, Consumer<Thread> executable)
    • start

      public String start​(boolean isDaemon, int priority, Consumer<Thread> executable)
    • startLooping

      public void startLooping​(String threadName, boolean isDaemon, int priority, Consumer<Thread> executable)
    • start

      public void start​(String threadName, boolean isDaemon, int priority, Consumer<Thread> executable)
    • stop

      public void stop​(String threadName)
    • stop

      public void stop​(String threadName, boolean waitThreadToFinish)
    • join

      public void join​(String threadName)
    • isAlive

      public boolean isAlive​(String threadName)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable