public static enum CacheRecycler.Type extends Enum<CacheRecycler.Type>
Enum Constant and Description |
---|
CONCURRENT |
NONE |
QUEUE |
SOFT_CONCURRENT |
Modifier and Type | Method and Description |
---|---|
static CacheRecycler.Type |
parse(String type) |
static CacheRecycler.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheRecycler.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheRecycler.Type QUEUE
public static final CacheRecycler.Type SOFT_CONCURRENT
public static final CacheRecycler.Type CONCURRENT
public static final CacheRecycler.Type NONE
public static CacheRecycler.Type[] values()
for (CacheRecycler.Type c : CacheRecycler.Type.values()) System.out.println(c);
public static CacheRecycler.Type 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 CacheRecycler.Type parse(String type)
Copyright © 2009–2015. All rights reserved.