@InterfaceAudience.Public public enum SnapshotType extends Enum<SnapshotType>
Modifier and Type | Method and Description |
---|---|
static SnapshotType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotType DISABLED
public static final SnapshotType FLUSH
public static final SnapshotType SKIPFLUSH
public static SnapshotType[] values()
for (SnapshotType c : SnapshotType.values()) System.out.println(c);
public static SnapshotType 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 nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.