Package net.pl3x.map.core
Class Pl3xMap.ThreadFactory
java.lang.Object
net.pl3x.map.core.Pl3xMap.ThreadFactory
- All Implemented Interfaces:
ForkJoinPool.ForkJoinWorkerThreadFactory
- Enclosing class:
Pl3xMap
public static final class Pl3xMap.ThreadFactory
extends Object
implements ForkJoinPool.ForkJoinWorkerThreadFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ExecutorService
createService
(@NotNull String name) static @NotNull ExecutorService
createService
(@NotNull String name, int threads) @NotNull ForkJoinWorkerThread
newThread
(@NotNull ForkJoinPool pool)
-
Constructor Details
-
ThreadFactory
-
-
Method Details
-
createService
-
createService
@NotNull public static @NotNull ExecutorService createService(@NotNull @NotNull String name, int threads) -
newThread
- Specified by:
newThread
in interfaceForkJoinPool.ForkJoinWorkerThreadFactory
-