public static enum UpdateLog.SyncLevel extends Enum<UpdateLog.SyncLevel>
Modifier and Type | Method and Description |
---|---|
static UpdateLog.SyncLevel |
getSyncLevel(String level) |
static UpdateLog.SyncLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateLog.SyncLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateLog.SyncLevel NONE
public static final UpdateLog.SyncLevel FLUSH
public static final UpdateLog.SyncLevel FSYNC
public static UpdateLog.SyncLevel[] values()
for (UpdateLog.SyncLevel c : UpdateLog.SyncLevel.values()) System.out.println(c);
public static UpdateLog.SyncLevel 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 UpdateLog.SyncLevel getSyncLevel(String level)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.