public enum CacheExecutorFactory extends Enum<CacheExecutorFactory>
Enum Constant and Description |
---|
COMMON_FJP |
SAME_THREAD |
SINGLE_THREAD |
Modifier and Type | Method and Description |
---|---|
abstract Executor |
createExecutor() |
static CacheExecutorFactory |
from(String str) |
static CacheExecutorFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheExecutorFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheExecutorFactory COMMON_FJP
public static final CacheExecutorFactory SINGLE_THREAD
public static final CacheExecutorFactory SAME_THREAD
public static CacheExecutorFactory[] values()
for (CacheExecutorFactory c : CacheExecutorFactory.values()) System.out.println(c);
public static CacheExecutorFactory 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 abstract Executor createExecutor()
public static CacheExecutorFactory from(String str)
Copyright © 2011–2017. All rights reserved.