ExposedKacheController
class ExposedKacheController(cacheEnabled: () -> Boolean = { true }, cache: CacheClient, asyncWriteScope: CoroutineScope? = null, onAsyncWriteError: (Throwable) -> Unit = {}) : KacheController
Exposed-based adapter providing a typed public API over KacheController.
Works with any database Exposed supports (PostgreSQL, MySQL, H2, SQLite, etc.). Each method delegates to KacheController's internal helpers, deriving cache keys from the Table schema and table names.
Constructors
Link copied to clipboard
constructor(cacheEnabled: () -> Boolean = { true }, cache: CacheClient, asyncWriteScope: CoroutineScope? = null, onAsyncWriteError: (Throwable) -> Unit = {})