Class ThreadUtil
java.lang.Object
com.hypixel.hytale.server.core.util.concurrent.ThreadUtil
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateKeepAliveThread(Semaphore alive) static ThreadFactorystatic ThreadFactorydaemonCounted(String name) static voidstatic ExecutorServicenewCachedThreadPool(int maximumPoolSize, ThreadFactory threadFactory)
-
Constructor Details
-
ThreadUtil
public ThreadUtil()
-
-
Method Details
-
forceTimeHighResolution
public static void forceTimeHighResolution() -
createKeepAliveThread
-
newCachedThreadPool
@Nonnull public static ExecutorService newCachedThreadPool(int maximumPoolSize, @Nonnull ThreadFactory threadFactory) -
daemon
-
daemonCounted
-