class HashSetMaker<E> : Maker<KeySet<E>>
<init> |
HashSetMaker(db: DB, name: String, _storeFactory: (Int) -> Store = {i-> db.store}) |
_storeFactory |
val _storeFactory: (Int) -> Store |
db |
val db: DB |
maker |
val maker: HashMapMaker<E, Any?> |
name |
val name: String |
type |
val type: String |
counterEnable |
fun counterEnable(): HashSetMaker<E> |
create2 |
fun create2(catalog: SortedMap<String, String>): KeySet<E> |
expireAfterCreate |
fun expireAfterCreate(): HashSetMaker<E> fun expireAfterCreate(ttl: Long): HashSetMaker<E> fun expireAfterCreate(ttl: Long, unit: TimeUnit): HashSetMaker<E> |
expireAfterGet |
fun expireAfterGet(): HashSetMaker<E> fun expireAfterGet(ttl: Long): HashSetMaker<E> fun expireAfterGet(ttl: Long, unit: TimeUnit): HashSetMaker<E> |
expireCompactThreshold |
fun expireCompactThreshold(freeFraction: Double): HashSetMaker<E> |
expireExecutor |
fun expireExecutor(executor: ScheduledExecutorService?): HashSetMaker<E> |
expireExecutorPeriod |
fun expireExecutorPeriod(period: Long): HashSetMaker<E> |
expireMaxSize |
fun expireMaxSize(maxSize: Long): HashSetMaker<E> |
expireStoreSize |
fun expireStoreSize(storeSize: Long): HashSetMaker<E> |
hashSeed |
fun hashSeed(hashSeed: Int): HashSetMaker<E> |
layout |
fun layout(concurrency: Int, dirSize: Int, levels: Int): HashSetMaker<E> |
open2 |
fun open2(catalog: SortedMap<String, String>): KeySet<E> |
removeCollapsesIndexTreeDisable |
fun removeCollapsesIndexTreeDisable(): HashSetMaker<E> |
serializer |
fun <A> serializer(serializer: Serializer<A>): HashSetMaker<A> |
verify |
fun verify(): Unit |
create |
open fun create(): E Creates new collection if it does not exist, or throw {@link DBException.WrongConfiguration} if collection already exists. |
createOrOpen |
open fun createOrOpen(): E Create new collection or open existing. |
make |
open fun Create new collection or open existing. |
make2 |
fun make2(create: Boolean?): E |
makeOrGet |
open fun |
open |
open fun open(): E Open existing collection, or throw {@link DBException.WrongConfiguration} if collection already exists. |