public static enum SchedConstants.EvictionPolicy extends Enum<SchedConstants.EvictionPolicy>
| Enum Constant and Description |
|---|
SHRINK_BY_INVESTMENT |
SHRINK_BY_MACHINE |
| Modifier and Type | Method and Description |
|---|---|
static SchedConstants.EvictionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedConstants.EvictionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedConstants.EvictionPolicy SHRINK_BY_MACHINE
public static final SchedConstants.EvictionPolicy SHRINK_BY_INVESTMENT
public static SchedConstants.EvictionPolicy[] values()
for (SchedConstants.EvictionPolicy c : SchedConstants.EvictionPolicy.values()) System.out.println(c);
public static SchedConstants.EvictionPolicy 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 nullCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.