public enum ThreadPoolConfigEnum extends Enum<ThreadPoolConfigEnum>
| Enum Constant and Description |
|---|
SAME |
| Modifier and Type | Method and Description |
|---|---|
abstract MilkyThreadPoolExecutor |
getInstance() |
String |
getName() |
ThreadPoolType |
getType() |
static ThreadPoolConfigEnum |
ofName(String name) |
static ThreadPoolConfigEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadPoolConfigEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadPoolConfigEnum SAME
public static ThreadPoolConfigEnum[] values()
for (ThreadPoolConfigEnum c : ThreadPoolConfigEnum.values()) System.out.println(c);
public static ThreadPoolConfigEnum 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 ThreadPoolConfigEnum ofName(String name)
public abstract MilkyThreadPoolExecutor getInstance()
public String getName()
public ThreadPoolType getType()
Copyright © 2022. All rights reserved.