public abstract class ExecutorServiceConfig extends Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
DEFAULT_NUM_THREADS  | 
| Constructor and Description | 
|---|
ExecutorServiceConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract String | 
getFormatString()  | 
int | 
getNumThreads()  | 
int | 
getNumThreadsConfigured()
Returns the number of threads _explicitly_ configured, or -1 if it is not explicitly configured, that is not
 a valid number of threads. 
 | 
public static final int DEFAULT_NUM_THREADS
public abstract String getFormatString()
public int getNumThreads()
public int getNumThreadsConfigured()
getNumThreads().
 This method exists for ability to distinguish between the default value set when there is no explicit config, and
 an explicitly configured value.Copyright © 2011–2018. All rights reserved.