public class ThreadPools
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
WORKER_THREAD_POOL_SIZE |
static java.lang.String |
WORKER_THREAD_POOL_SIZE_PROP |
Modifier and Type | Method and Description |
---|---|
static java.util.concurrent.ExecutorService |
getWorkerPool()
Return an
ExecutorService that uses the "worker" thread-pool. |
public static final java.lang.String WORKER_THREAD_POOL_SIZE_PROP
public static final int WORKER_THREAD_POOL_SIZE
public static java.util.concurrent.ExecutorService getWorkerPool()
ExecutorService
that uses the "worker" thread-pool.
The size of the worker pool limits the number of tasks concurrently reading manifests in the base table implementation across all concurrent planning operations.
The size of this thread-pool is controlled by the Java system property
iceberg.worker.num-threads
.
ExecutorService
that uses the worker pool