org.mapdb / StoreTx

StoreTx

interface StoreTx : Store

Stores records, transactional version



Inherited Properties

isClosed abstract val isClosed: Boolean
isReadOnly abstract val isReadOnly: Boolean

Functions

rollback abstract fun rollback(): Unit

Inherited Functions

close abstract fun close(): Unit
commit abstract fun commit(): Unit
compact abstract fun compact(): Unit
compareAndSwap abstract fun <R> compareAndSwap(recid: Long, expectedOldRecord: R?, newRecord: R?, serializer: Serializer<R>): Boolean
delete abstract fun <R> delete(recid: Long, serializer: Serializer<R>): Unit
fileLoad abstract fun fileLoad(): Boolean
preallocate abstract fun preallocate(): Long
put abstract fun <R> put(record: R?, serializer: Serializer<R>): Long
update abstract fun <R> update(recid: Long, record: R?, serializer: Serializer<R>): Unit
verify abstract fun verify(): Unit

Inheritors

StoreTrivialTx class StoreTrivialTx : StoreTrivial, StoreTx
StoreWAL class StoreWAL : StoreDirectAbstract, StoreTx

StoreDirect with write ahead log