public class SharedMemoryLongMap<V> extends SharedMemoryMap<Long,V>
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 |
|---|
SharedMemoryLongMap(int capacity,
String fileName,
long fileSize) |
SharedMemoryLongMap(int capacity,
String fileName,
long fileSize,
long expirationTime) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
equalsAt(long entry,
Long key) |
protected long |
hashCode(Long key) |
protected Long |
keyAt(long entry) |
allocateEntry, closeInternal, convert, createAllocator, destroyEntry, entriesToClean, getCustomData, getFreeMemory, getHeader, getTotalMemory, getUsedMemory, headerSize, loadSchema, needCleanup, relocate, setCustomData, setHeader, setSerializer, setSerializer, setValueAt, sizeOf, sizeOf, storeSchema, valueAtbucketFor, 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 SharedMemoryLongMap(int capacity,
String fileName,
long fileSize)
throws IOException
IOExceptionpublic SharedMemoryLongMap(int capacity,
String fileName,
long fileSize,
long expirationTime)
throws IOException
IOExceptionprotected Long keyAt(long entry)
keyAt in class OffheapMap<Long,V>protected long hashCode(Long key)
hashCode in class OffheapMap<Long,V>protected boolean equalsAt(long entry,
Long key)
equalsAt in class OffheapMap<Long,V>Copyright © 2019. All rights reserved.