public final class SQLiteGlobal extends Object
SQLiteDebug.DEBUG_SQL_LOG
).Modifier and Type | Method and Description |
---|---|
static String |
getDefaultJournalMode()
Gets the default journal mode when WAL is not in use.
|
static int |
getDefaultPageSize()
Gets the default page size to use when creating a database.
|
static String |
getDefaultSyncMode()
Gets the default database synchronization mode when WAL is not in use.
|
static int |
getJournalSizeLimit()
Gets the journal size limit in bytes.
|
static int |
getWALAutoCheckpoint()
Gets the WAL auto-checkpoint integer in database pages.
|
static int |
getWALConnectionPoolSize()
Gets the connection pool size when in WAL mode.
|
static String |
getWALSyncMode()
Gets the database synchronization mode when in WAL mode.
|
static int |
releaseMemory()
Attempts to release memory by pruning the SQLite page cache and other
internal data structures.
|
public static int releaseMemory()
public static int getDefaultPageSize()
public static String getDefaultJournalMode()
public static int getJournalSizeLimit()
public static String getDefaultSyncMode()
public static String getWALSyncMode()
public static int getWALAutoCheckpoint()
public static int getWALConnectionPoolSize()