WriteAheadLogHook

fun interface WriteAheadLogHook(source)

Callback to use with WriteAheadLog.setHook.

Functions

Link copied to clipboard
abstract fun apply(connection: DatabaseConnection, databaseName: String, pageCount: Int)

Called each time data is committed to databaseName of connection in WAL mode. pageCount is the number of frames the write-ahead log file now holds.