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