public class SharedMemoryBlobMap extends SharedMemoryLongMap<byte[]>
OffheapMap.BasicCleanup, OffheapMap.Record<K,V>, OffheapMap.SamplingCleanup, OffheapMap.Visitor<K,V>, OffheapMap.WritableRecord<K,V>, OffheapMap.WritableVisitor<K,V>allocator, BASE_OFFSET, CAPACITY_OFFSET, className, CUSTOM_DATA_OFFSET, CUSTOM_SIZE_OFFSET, MAP_OFFSET, MAX_CUSTOM_DATA_SIZE, mmap, name, serializer, SIGNATURE_CLEAR, SIGNATURE_DIRTY, SIGNATURE_LEGACY, SIGNATURE_OFFSET, TIMESTAMP_OFFSET, UID_OFFSETbyteArrayOffset, 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 |
|---|
SharedMemoryBlobMap(int capacity,
String fileName,
long fileSize) |
SharedMemoryBlobMap(int capacity,
String fileName,
long fileSize,
long expirationTime) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setValueAt(long entry,
byte[] value) |
protected int |
sizeOf(byte[] value) |
protected byte[] |
valueAt(long entry) |
equalsAt, hashCode, keyAtallocateEntry, closeInternal, convert, createAllocator, destroyEntry, entriesToClean, getCustomData, getFreeMemory, getHeader, getTotalMemory, getUsedMemory, headerSize, loadSchema, needCleanup, relocate, setCustomData, setHeader, setSerializer, setSerializer, sizeOf, storeSchemabucketFor, clear, close, 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, touchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCapacity, getCleanupInterval, getCleanupThreshold, getCount, getExpirations, getLockWaitTime, getMaxSamples, getMinTimeToLive, getTimeToLive, setCleanupInterval, setCleanupThreshold, setLockWaitTime, setMaxSamples, setMinTimeToLive, setTimeToLivepublic SharedMemoryBlobMap(int capacity,
String fileName,
long fileSize)
throws IOException
IOExceptionpublic SharedMemoryBlobMap(int capacity,
String fileName,
long fileSize,
long expirationTime)
throws IOException
IOExceptionprotected int sizeOf(byte[] value)
sizeOf in class SharedMemoryMap<Long,byte[]>protected void setValueAt(long entry,
byte[] value)
setValueAt in class SharedMemoryMap<Long,byte[]>protected byte[] valueAt(long entry)
valueAt in class SharedMemoryMap<Long,byte[]>Copyright © 2019. All rights reserved.