org.mapdb / StoreBinary

StoreBinary

interface StoreBinary : Store


Inherited Properties

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

Functions

getBinaryLong abstract fun getBinaryLong(recid: Long, f: StoreBinaryGetLong): Long

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

StoreDirect class StoreDirect : StoreDirectAbstract, StoreBinary

Store which uses binary storage (file, memory buffer...) and updates records on place. It has memory allocator, so it reuses space freed by deletes and updates.