|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SqlJetSafetyLevel>
org.tmatesoft.sqljet.core.internal.SqlJetSafetyLevel
public enum SqlJetSafetyLevel
Valuest to adjust the robustness of the database to damage due to OS crashes or power failures by changing the number of syncs()s when writing the rollback journal.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SqlJetSafetyLevel OFF
public static final SqlJetSafetyLevel NORMAL
public static final SqlJetSafetyLevel FULL
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |