Package org.neo4j.gds.core.concurrency
Class Pools
- java.lang.Object
-
- org.neo4j.gds.core.concurrency.Pools
-
public final class Pools extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.concurrent.ExecutorService
DEFAULT
static java.util.concurrent.ExecutorService
DEFAULT_SINGLE_THREAD_POOL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.ForkJoinPool
createForkJoinPool(int concurrency)
static java.util.concurrent.ExecutorService
createSingleThreadPool(java.lang.String threadPrefix)
static java.lang.Thread
newThread(java.lang.Runnable code)
-
-
-
Method Detail
-
createSingleThreadPool
public static java.util.concurrent.ExecutorService createSingleThreadPool(java.lang.String threadPrefix)
-
createForkJoinPool
public static java.util.concurrent.ForkJoinPool createForkJoinPool(int concurrency)
-
newThread
public static java.lang.Thread newThread(java.lang.Runnable code)
-
-