public enum TachyonStorageType extends Enum<TachyonStorageType>
WriteType
and ReadType
.
Enum Constant and Description |
---|
NO_STORE
Do not put data to Tachyon.
|
PROMOTE
Same as STORE for writes.
|
STORE
Put the data reading or writing in Tachyon storage.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPromote() |
boolean |
isStore() |
static TachyonStorageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TachyonStorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TachyonStorageType STORE
public static final TachyonStorageType NO_STORE
public static final TachyonStorageType PROMOTE
public static TachyonStorageType[] values()
for (TachyonStorageType c : TachyonStorageType.values()) System.out.println(c);
public static TachyonStorageType 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 boolean isStore()
public boolean isPromote()
Copyright © 2015. All Rights Reserved.