Package org.burningwave.core.concurrent
Class Thread.Holder
java.lang.Object
org.burningwave.core.concurrent.Thread.Holder
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static Thread.Holdercreate(Thread.Supplier supplier, boolean undestroyable) booleanvoidvoidstartLooping(boolean isDaemon, int priority, Consumer<Thread> executable) voidstartLooping(String threadName, boolean isDaemon, int priority, Consumer<Thread> executable) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Closeable
closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationId
-
Method Details
-
create
-
startLooping
-
start
-
startLooping
-
start
-
stop
-
stop
-
join
-
isAlive
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-