AutovacuumPages

Functions

Link copied to clipboard
abstract fun apply(schemaName: String, dbPage: UInt, freePage: UInt, bytePerPage: UInt): UInt

Called before each autovacuum of the database identified by schemaName. dbPage is the current size of the database in pages, freePage the number of pages currently free and available for reuse, and bytePerPage the number of bytes per page. Returns the number of pages to autovacuum during this pass, 0u to skip it entirely.

Link copied to clipboard
open override fun close()

Called when the callback is no longer needed by SQLite.