public static enum RRContext.WritePolicy extends Enum<RRContext.WritePolicy>
| Enum Constant and Description |
|---|
WRITE_BEHIND |
WRITE_LOCAL |
WRITE_THROUGH |
| Modifier and Type | Method and Description |
|---|---|
static RRContext.WritePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RRContext.WritePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RRContext.WritePolicy WRITE_THROUGH
public static final RRContext.WritePolicy WRITE_LOCAL
public static final RRContext.WritePolicy WRITE_BEHIND
public static RRContext.WritePolicy[] values()
for (RRContext.WritePolicy c : RRContext.WritePolicy.values()) System.out.println(c);
public static RRContext.WritePolicy 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 © 2014. All Rights Reserved.