public enum ExecutorBuilder extends Enum<ExecutorBuilder>
| Enum Constant and Description |
|---|
$ |
| Modifier and Type | Method and Description |
|---|---|
static Executor |
create(ExecutorService executorService)
Factory
|
static ExecutorBuilder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutorBuilder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutorBuilder $
public static ExecutorBuilder[] values()
for (ExecutorBuilder c : ExecutorBuilder.values()) System.out.println(c);
public static ExecutorBuilder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Executor create(ExecutorService executorService)
executorService - The underlying executr serviceCopyright © 2017. All rights reserved.