public enum UnderStorageType extends Enum<UnderStorageType>
NO_PERSIST
where writing to
Under Storage will be skipped and data may be lost when evicted from Tachyon storage.
This option is for developers and advanced users. See WriteType
and
ReadType
.Enum Constant and Description |
---|
ASYNC_PERSIST
Persist data to Under Storage asynchronously.
|
NO_PERSIST
Do not persist data to Under Storage.
|
SYNC_PERSIST
Persist data to 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 © 2015. All Rights Reserved.