1package dev.rafex.ether.database.sqlite.config;
64 private final int pragmaValue;
67 this.pragmaValue = pragmaValue;
SynchronousMode(int pragmaValue)
int pragmaValue()
Returns the integer value used in PRAGMA synchronous statements.
EXTRA
Extra synchronous mode similar to FULL but with additional directory sync operations for maximum dura...
FULL
SQLite syncs the database file after every write transaction.
NORMAL
SQLite syncs at the most critical moments, but less often than in FULL mode.
String toSql()
Returns the SQL string for this synchronous mode.
OFF
SQLite continues without syncing as soon as it has handed data off to the operating system.