Package | Description |
---|---|
net.openhft.chronicle.map |
Modifier and Type | Method and Description |
---|---|
OffHeapUpdatableChronicleMapBuilder<K,V> |
OffHeapUpdatableChronicleMapBuilder.defaultValue(V defaultValue)
Specifies the value to be put for each key queried in
acquireUsing()
method, if the key is absent in the map, created by this builder. |
OffHeapUpdatableChronicleMapBuilder<K,V> |
OffHeapUpdatableChronicleMapBuilder.defaultValueProvider(DefaultValueProvider<K,V> defaultValueProvider)
Specifies the function to obtain a value for the key during
acquireUsing() calls, if the key is absent in the map, created by this builder. |
OffHeapUpdatableChronicleMapBuilder<K,V> |
OffHeapUpdatableChronicleMapBuilder.entryAndValueAlignment(Alignment alignment)
Configures alignment strategy of address in memory of entries and independently of address in
memory of values within entries in ChronicleMaps, created by this builder.
|
OffHeapUpdatableChronicleMapBuilder<K,V> |
OffHeapUpdatableChronicleMapBuilder.entrySize(int entrySize)
Configures the size in bytes of allocation unit of hash container instances, created by this
builder.
|
static <K,V> OffHeapUpdatableChronicleMapBuilder<K,V> |
OffHeapUpdatableChronicleMapBuilder.of(Class<K> keyClass,
Class<V> valueClass) |
OffHeapUpdatableChronicleMapBuilder<K,V> |
OffHeapUpdatableChronicleMapBuilder.prepareValueBytesOnAcquire(PrepareValueBytes<K,V> prepareValueBytes)
Configures the procedure which is called on the bytes, which later the returned value is
pointing to, if the key is absent, on
acquireUsing() call on maps, created by this builder. |
Copyright © 2014. All rights reserved.