| Modifier and Type | Method and Description |
|---|---|
protected DB.HTreeMapMaker |
DB.HTreeMapMaker.closeEngine() |
DB.HTreeMapMaker |
DB.HTreeMapMaker.counterEnable()
by default collection does not have counter, without counter updates are faster, but entire collection needs to be traversed to count items.
|
DB.HTreeMapMaker |
DB.createHashMap(String name)
Deprecated.
method renamed, use
DB.hashMapCreate(String) |
DB.HTreeMapMaker |
DB.HTreeMapMaker.executorEnable() |
DB.HTreeMapMaker |
DB.HTreeMapMaker.executorEnable(ScheduledExecutorService executor) |
DB.HTreeMapMaker |
DB.HTreeMapMaker.executorPeriod(long period) |
DB.HTreeMapMaker |
DB.HTreeMapMaker.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.HTreeMapMaker |
DB.HTreeMapMaker.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.HTreeMapMaker |
DB.HTreeMapMaker.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.HTreeMapMaker |
DB.HTreeMapMaker.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.HTreeMapMaker |
DB.HTreeMapMaker.expireMaxSize(long maxSize)
maximal number of entries in this map.
|
DB.HTreeMapMaker |
DB.HTreeMapMaker.expireOverflow(Bind.MapWithModificationListener ondisk,
boolean overwrite)
After expiration (or deletion), put entries into given map
|
DB.HTreeMapMaker |
DB.HTreeMapMaker.expireStoreSize(double maxStoreSize)
maximal size of store in GB, if store is larger entries will start expiring
|
DB.HTreeMapMaker |
DB.HTreeMapMaker.expireTick(long expireTick)
Calling expiration cleanup too often reduces performance.
|
DB.HTreeMapMaker |
DB.hashMapCreate(String name)
Returns new builder for HashMap with given name
|
static DB.HTreeMapMaker |
DBMaker.hashMapSegmented(DBMaker.Maker maker) |
static DB.HTreeMapMaker |
DBMaker.hashMapSegmentedMemory() |
static DB.HTreeMapMaker |
DBMaker.hashMapSegmentedMemoryDirect() |
DB.HTreeMapMaker |
DB.HTreeMapMaker.keySerializer(Serializer<?> keySerializer)
keySerializer used to convert keys into/from binary form.
|
<K> DB.HTreeMapMaker |
DB.HTreeMapMaker.pumpIgnoreDuplicates()
If source iteretor contains an duplicate key, exception is thrown.
|
DB.HTreeMapMaker |
DB.HTreeMapMaker.pumpPresort(int batchSize) |
<K,V> DB.HTreeMapMaker |
DB.HTreeMapMaker.pumpSource(Iterator<Fun.Pair<K,V>> entriesSource) |
<K,V> DB.HTreeMapMaker |
DB.HTreeMapMaker.pumpSource(Iterator<K> keysSource,
Fun.Function1<V,K> valueExtractor) |
DB.HTreeMapMaker |
DB.HTreeMapMaker.valueCreator(Fun.Function1<?,?> valueCreator)
If value is not found, HTreeMap can fetch and insert default value.
|
DB.HTreeMapMaker |
DB.HTreeMapMaker.valueSerializer(Serializer<?> valueSerializer)
valueSerializer used to convert values into/from binary form.
|
| Modifier and Type | Method and Description |
|---|---|
protected <K,V> HTreeMap<K,V> |
DB.hashMapCreate(DB.HTreeMapMaker m)
Creates new HashMap with more specific arguments
|
Copyright © 2015. All Rights Reserved.