public enum SqlJetSafetyLevel extends java.lang.Enum<SqlJetSafetyLevel>
Enum Constant and Description |
---|
FULL
The journal is synced twice before writes begin on the database (with
some additional information - the nRec field of the journal header -
being written in between the two syncs).
|
NORMAL
The journal is synced once before writes begin on the database.
|
OFF
sqlite3OsSync() is never called.
|
Modifier and Type | Method and Description |
---|---|
static SqlJetSafetyLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlJetSafetyLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlJetSafetyLevel OFF
public static final SqlJetSafetyLevel NORMAL
public static final SqlJetSafetyLevel FULL
public static SqlJetSafetyLevel[] values()
for (SqlJetSafetyLevel c : SqlJetSafetyLevel.values()) System.out.println(c);
public static SqlJetSafetyLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2009-2010 TMate Software Ltd. All Rights Reserved.