DatabaseConfiguration
data class DatabaseConfiguration(val borrowWaitTimeoutMillis: Long = -1L, val busyTimeoutMillis: Int = 0, val evictionDelayMillis: Long, val maxConnectionPoolSize: Int, val maxSqlCacheSize: Int, val name: String = "main", val secureDelete: SQLiteSecureDelete = SQLiteSecureDelete.FAST, val timeBetweenEvictionRunsMillis: Long, val trace: SQLiteTraceEventMode? = null, val useNativeTransactionListeners: Boolean = false, val cursorWindowSize: Int = PLATFORM_DEFAULT_CURSOR_WINDOW_SIZE, val cursorWindowByteSize: Int = PLATFORM_DEFAULT_CURSOR_WINDOW_BYTE_SIZE, val pageCacheSizeKiB: Int? = null)(source)
Since
0.12.1
Constructors
Link copied to clipboard
constructor(borrowWaitTimeoutMillis: Long = -1L, busyTimeoutMillis: Int = 0, evictionDelayMillis: Long, maxConnectionPoolSize: Int, maxSqlCacheSize: Int, name: String = "main", secureDelete: SQLiteSecureDelete = SQLiteSecureDelete.FAST, timeBetweenEvictionRunsMillis: Long, trace: SQLiteTraceEventMode? = null, useNativeTransactionListeners: Boolean = false, cursorWindowSize: Int = PLATFORM_DEFAULT_CURSOR_WINDOW_SIZE, cursorWindowByteSize: Int = PLATFORM_DEFAULT_CURSOR_WINDOW_BYTE_SIZE, pageCacheSizeKiB: Int? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Maximum estimated bytes retained by a scrollable cursor window, or PLATFORM_DEFAULT_CURSOR_WINDOW_BYTE_SIZE to use the platform default.
Link copied to clipboard
Maximum rows retained by a scrollable cursor at once, or PLATFORM_DEFAULT_CURSOR_WINDOW_SIZE to use the platform default.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Maximum size of the prepared statement cache.
Link copied to clipboard
Approximate maximum KiB retained by SQLite's page cache on each physical connection. Selekt applies this as a negative SQLite PRAGMA cache_size value, which SQLite interprets as KiB rather than a number of pages. null preserves SQLite's compiled default.
Link copied to clipboard
Link copied to clipboard
Time between idle connection eviction runs in milliseconds, -1L for never.
Link copied to clipboard
Link copied to clipboard
Whether to use native SQLite commit/rollback hooks for transaction listeners.