interface Store : StoreImmutable, Verifiable, ConcurrencyAwareStores records, mutable version
| isClosed |
abstract val isClosed: Boolean |
| isReadOnly |
abstract val isReadOnly: Boolean |
| isThreadSafe |
abstract val isThreadSafe: Booleanreturns true if this is configured to be thread safe |
| 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 |
| checkThreadSafe |
open fun checkThreadSafe(): Unitchecks all subcomponents, if this component is really thread safe, and throws an exception if not thread safe |
| get |
abstract fun <R> get(recid: Long, serializer: Serializer<R>): R? |
| getAllFiles |
abstract fun getAllFiles(): Iterable<String> |
| getAllRecids |
abstract fun getAllRecids(): LongIterator |
| StoreBinary |
interface StoreBinary : Store |
| StoreDirectAbstract |
abstract class StoreDirectAbstract : StoreCommon utils for StoreDirect, StoreWAL and StoreCached |
| StoreOnHeap |
class StoreOnHeap : StoreStore which does not use serialization, but puts everything into on-heap Map. |
| StoreReadOnlyWrapper |
class StoreReadOnlyWrapper : StoreWraps Store and throws |
| StoreTrivial |
open class StoreTrivial : StoreStore which serializes its content into primitive |
| StoreTx |
interface StoreTx : StoreStores records, transactional version |