Package org.burningwave.core.concurrent
Class Thread.Supplier
java.lang.Object
org.burningwave.core.concurrent.Thread.Supplier
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Thread.Supplierintintintintfinal Threadfinal ThreadgetOrCreateThread(int tentativeCount) getOrCreateThread(String name) intintintintjoinThread(Thread thread) voidshutDownAllPoolableSleepingThreads(boolean joinThreads) shutDownAllThreads(boolean joinThreads) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationId
-
Method Details
-
create
-
getOrCreatePoolableThread
-
getOrCreateThread
-
getOrCreateThread
-
getOrCreateThread
-
createDetachedThread
-
shutDownAllPoolableSleepingThreads
-
shutDownAllPoolableSleepingThreads
-
shutDownAllThreads
-
shutDownAllThreads
-
joinAllRunningThreads
-
joinThread
-
getPoolableThreadCount
public int getPoolableThreadCount() -
getDetachedThreadCount
public int getDetachedThreadCount() -
getThreadCount
public int getThreadCount() -
getPoolableSleepingThreadCount
public int getPoolableSleepingThreadCount() -
getRunningThreadCount
public int getRunningThreadCount() -
getInititialMaxThreadCount
public int getInititialMaxThreadCount() -
getMaxDetachedThreadCountIncreasingStep
public int getMaxDetachedThreadCountIncreasingStep() -
getCountOfThreadsThatCanBeSupplied
public int getCountOfThreadsThatCanBeSupplied() -
printStatus
public void printStatus()
-