Modifier and Type | Method and Description |
---|---|
DB.HTreeSetMaker |
DB.HTreeSetMaker.counterEnable()
by default collection does not have counter, without counter updates are faster, but entire collection needs to be traversed to count items.
|
DB.HTreeSetMaker |
DB.createHashSet(String name)
Creates new HashSet
|
DB.HTreeSetMaker |
DB.HTreeSetMaker.expireAfterAccess(long interval)
Specifies that each entry should be automatically removed from the map once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.
|
DB.HTreeSetMaker |
DB.HTreeSetMaker.expireAfterAccess(long interval,
TimeUnit timeUnit)
Specifies that each entry should be automatically removed from the map once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.
|
DB.HTreeSetMaker |
DB.HTreeSetMaker.expireAfterWrite(long interval)
Specifies that each entry should be automatically removed from the map once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
|
DB.HTreeSetMaker |
DB.HTreeSetMaker.expireAfterWrite(long interval,
TimeUnit timeUnit)
Specifies that each entry should be automatically removed from the map once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.
|
DB.HTreeSetMaker |
DB.HTreeSetMaker.expireMaxSize(long maxSize)
maximal number of entries in this map.
|
DB.HTreeSetMaker |
DB.HTreeSetMaker.expireStoreSize(double maxStoreSize)
maximal size of store in GB, if store is larger entries will start expiring
|
DB.HTreeSetMaker |
DB.HTreeSetMaker.hasher(Hasher<?> hasher) |
DB.HTreeSetMaker |
DB.HTreeSetMaker.serializer(Serializer<?> serializer)
keySerializer used to convert keys into/from binary form.
|
Modifier and Type | Method and Description |
---|---|
protected <K> Set<K> |
DB.createHashSet(DB.HTreeSetMaker m) |
Copyright © 2019. All rights reserved.