public enum CacheOption extends Enum<CacheOption>
Enum Constant and Description |
---|
WRITE_AROUND
Issue a write without caching the result
|
WRITE_THROUGH
Issue a write and cache the result if the write
succeeds
|
Modifier and Type | Method and Description |
---|---|
static CacheOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheOption WRITE_AROUND
public static final CacheOption WRITE_THROUGH
public static CacheOption[] values()
for (CacheOption c : CacheOption.values()) System.out.println(c);
public static CacheOption 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 © 2019 CorfuDB. All rights reserved.