public class OffheapBlobMap extends OffheapMap<byte[],byte[]>
OffheapMap.BasicCleanup, OffheapMap.Record<K,V>, OffheapMap.SamplingCleanup, OffheapMap.Visitor<K,V>, OffheapMap.WritableRecord<K,V>, OffheapMap.WritableVisitor<K,V>| Modifier and Type | Field and Description |
|---|---|
protected static int |
KEY_OFFSET |
byteArrayOffset, capacity, cleanupInterval, cleanupThread, cleanupThreshold, CONCURRENCY_LEVEL, count, expirations, HASH_OFFSET, HEADER_SIZE, locks, lockWaitTime, log, mapBase, maxSamples, MB, minTimeToLive, NEXT_OFFSET, TIME_OFFSET, timeToLive, unsafe| Constructor and Description |
|---|
OffheapBlobMap(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
allocateEntry(byte[] key,
long hashCode,
int size) |
protected void |
destroyEntry(long entry) |
protected boolean |
equalsAt(long entry,
byte[] key) |
protected long |
hashCode(byte[] key) |
byte[] |
keyAt(long entry) |
protected void |
setValueAt(long entry,
byte[] value) |
protected int |
sizeOf(byte[] value) |
protected int |
sizeOf(long entry) |
protected byte[] |
valueAt(long entry) |
bucketFor, clear, close, closeInternal, entriesToClean, get, getCapacity, getCleanupInterval, getCleanupThreshold, getCount, getExpirations, getLockWaitTime, getMaxSamples, getMinTimeToLive, getTimeToLive, isExpired, iterate, iterate, iterate, iterate, iterate, iterate, lockFor, lockRecordForRead, lockRecordForRead, lockRecordForWrite, lockRecordForWrite, put, putIfAbsent, remove, removeExpired, setCleanupInterval, setCleanupThreshold, setLockWaitTime, setMaxSamples, setMinTimeToLive, setTimeAt, setTimeAt, setTimeToLive, shouldCleanup, timeAt, touchprotected static final int KEY_OFFSET
public byte[] keyAt(long entry)
keyAt in class OffheapMap<byte[],byte[]>protected long hashCode(byte[] key)
hashCode in class OffheapMap<byte[],byte[]>protected boolean equalsAt(long entry,
byte[] key)
equalsAt in class OffheapMap<byte[],byte[]>protected byte[] valueAt(long entry)
valueAt in class OffheapMap<byte[],byte[]>protected void setValueAt(long entry,
byte[] value)
setValueAt in class OffheapMap<byte[],byte[]>protected long allocateEntry(byte[] key,
long hashCode,
int size)
allocateEntry in class OffheapMap<byte[],byte[]>protected void destroyEntry(long entry)
destroyEntry in class OffheapMap<byte[],byte[]>protected int sizeOf(long entry)
sizeOf in class OffheapMap<byte[],byte[]>protected int sizeOf(byte[] value)
sizeOf in class OffheapMap<byte[],byte[]>Copyright © 2019. All rights reserved.