@PublicApi @ThreadSafe public enum TtlAction extends Enum<TtlAction>
Enum Constant and Description |
---|
DELETE
Indicates that the file should be deleted (both in Alluxio and UFS).
|
FREE
Indicates that the file should be freed (i.e.
|
Modifier and Type | Method and Description |
---|---|
static TtlAction |
fromThrift(TTtlAction tTtlAction)
Converts thrift type to wire type.
|
static TTtlAction |
toThrift(TtlAction ttlAction)
Converts wire type to thrift type.
|
static TtlAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TtlAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TtlAction DELETE
public static final TtlAction FREE
public static TtlAction[] values()
for (TtlAction c : TtlAction.values()) System.out.println(c);
public static TtlAction 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 static TtlAction fromThrift(TTtlAction tTtlAction)
tTtlAction
- TTtlAction
TtlAction
equivalentpublic static TTtlAction toThrift(TtlAction ttlAction)
ttlAction
- TtlAction
TTtlAction
equivalentCopyright © 2023. All Rights Reserved.