class StoreOnHeap : Store
Store which does not use serialization, but puts everything into on-heap Map.
<init> |
StoreOnHeap(isThreadSafe: Boolean = true) Store which does not use serialization, but puts everything into on-heap Map. |
isClosed |
val isClosed: Boolean |
isReadOnly |
val isReadOnly: Boolean |
isThreadSafe |
val isThreadSafe: Boolean returns true if this is configured to be thread safe |
close |
fun close(): Unit |
commit |
fun commit(): Unit |
compact |
fun compact(): Unit |
compareAndSwap |
fun <R> compareAndSwap(recid: Long, expectedOldRecord: R?, newRecord: R?, serializer: Serializer<R>): Boolean |
delete |
fun <R> delete(recid: Long, serializer: Serializer<R>): Unit |
fileLoad |
fun fileLoad(): Boolean |
get |
fun <R> get(recid: Long, serializer: Serializer<R>): R? |
getAllFiles |
fun getAllFiles(): Iterable<String> |
getAllRecids |
fun getAllRecids(): LongIterator |
preallocate |
fun preallocate(): Long |
put |
fun <R> put(record: R?, serializer: Serializer<R>): Long |
update |
fun <R> update(recid: Long, record: R?, serializer: Serializer<R>): Unit |
verify |
fun verify(): Unit |