public class ExecutorServiceBuilder extends Object
ExecutorService
instances dynamically by configuration.Modifier and Type | Class and Description |
---|---|
static class |
ExecutorServiceBuilder.RpcExecutorHost
Type of Alluxio process for generating RPC ExecutorServices.
|
Constructor and Description |
---|
ExecutorServiceBuilder() |
Modifier and Type | Method and Description |
---|---|
static AlluxioExecutorService |
buildExecutorService(ExecutorServiceBuilder.RpcExecutorHost executorHost)
Creates an
ExecutorService for given Alluxio process dynamically by configuration. |
static AlluxioExecutorService |
buildExecutorService(ExecutorServiceBuilder.RpcExecutorHost executorHost,
com.codahale.metrics.Counter rpcCounter)
Creates an
ExecutorService for given Alluxio process dynamically by configuration. |
public static AlluxioExecutorService buildExecutorService(ExecutorServiceBuilder.RpcExecutorHost executorHost)
ExecutorService
for given Alluxio process dynamically by configuration.executorHost
- Where the executor is neededExecutorService
public static AlluxioExecutorService buildExecutorService(ExecutorServiceBuilder.RpcExecutorHost executorHost, @Nullable com.codahale.metrics.Counter rpcCounter)
ExecutorService
for given Alluxio process dynamically by configuration.executorHost
- Where the executor is neededrpcCounter
- the counter to track ongoing RPCExecutorService
Copyright © 2023. All Rights Reserved.