org.mapdb / ConcurrencyAware

ConcurrencyAware

interface ConcurrencyAware

Concurrency aware, can verify that its configuration is thread safe



Properties

isThreadSafe abstract val isThreadSafe: Boolean

returns true if this is configured to be thread safe

Functions

checkThreadSafe open fun checkThreadSafe(): Unit

checks all subcomponents, if this component is really thread safe, and throws an exception if not thread safe

Inheritors

BTreeMap class BTreeMap<K, V> : Verifiable, Closeable, Serializable, ConcurrencyAware, ConcurrentNavigableMap<K, V>, ConcurrentNavigableMapExtra<K, V>

A scalable concurrent {@link ConcurrentNavigableMap} implementation. The map is sorted according to the {@linkplain Comparable natural ordering} of its keys, or by a {@link Comparator} provided at map creation time.

DB open class DB : Closeable, ConcurrencyAware

A database with easy access to named maps and other collections.

HTreeMap class HTreeMap<K, V> : ConcurrentMap<K, V>, ConcurrencyAware, MapExtra<K, V>, Verifiable, Closeable

Concurrent HashMap which uses IndexTree for hash table

Store interface Store : StoreImmutable, Verifiable, ConcurrencyAware

Stores records, mutable version