@ThreadSafe public enum UnderStorageType extends Enum<UnderStorageType>
NO_PERSIST
where writing to
Under Storage will be skipped and data may be lost when evicted from Alluxio storage.Enum Constant and Description |
---|
ASYNC_PERSIST
Persist data to the under storage asynchronously.
|
NO_PERSIST
Do not persist data to the under storage.
|
SYNC_PERSIST
Persist data to the under storage synchronously.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAsyncPersist() |
boolean |
isSyncPersist() |
static UnderStorageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnderStorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnderStorageType SYNC_PERSIST
public static final UnderStorageType NO_PERSIST
public static final UnderStorageType ASYNC_PERSIST
public static UnderStorageType[] values()
for (UnderStorageType c : UnderStorageType.values()) System.out.println(c);
public static UnderStorageType 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 isSyncPersist()
public boolean isAsyncPersist()
Copyright © 2023. All Rights Reserved.