Package org.nustaq.offheap
Class FSTLongOffheapMap<V>
Created by ruedi on 15.11.14.
Same as FSTAsciiStringOffheapMap, but uses Long as key
see FSTAsciiStringOffheapMap for doc.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nustaq.offheap.FSTBinaryOffheapMap
FSTBinaryOffheapMap.KeyValIter
-
Field Summary
Fields inherited from class org.nustaq.offheap.FSTSerializedOffheapMap
buffer, coder, tmpVal
Fields inherited from class org.nustaq.offheap.FSTBinaryOffheapMap
alloc, bytezOffset, CORE_HEADER_LEN, CUSTOM_FILEHEADER_LEN, customHeader, FILE_HEADER_LEN, freeList, GB, index, KEY_OFFSET_IN_HEADER, keyLen, mappedFile, MB, memory, mutationCount, numElem
-
Constructor Summary
ConstructorDescriptionFSTLongOffheapMap
(long sizeBytes, int numberOfElems) FSTLongOffheapMap
(long sizeBytes, int numberOfElems, FSTCoder coder) FSTLongOffheapMap
(String mappedFile, long sizeMemBytes, int numberOfElems) FSTLongOffheapMap
(String mappedFile, long sizeMemBytes, int numberOfElems, FSTCoder coder) -
Method Summary
Methods inherited from class org.nustaq.offheap.FSTSerializedOffheapMap
decodeValue, encodeValue, getCoder, getEntryLengthForContentLength
Methods inherited from class org.nustaq.offheap.FSTCodedOffheapMap
get, put, remove, values
Methods inherited from class org.nustaq.offheap.FSTBinaryOffheapMap
addEntry, addToFreeList, binaryKeys, binaryValues, decElems, dumpIndexStats, finalize, free, getBinary, getCapacityMB, getContentLenFromHeader, getCustomFileHeader, getFileName, getFreeMem, getHeaderLen, getLenFromHeader, getSize, getUsedMem, incElems, init, initFromFile, main, printBinaryKey, putBinary, removeBinary, removeEntry, resizeStore, setEntry, writeEntryHeader
-
Constructor Details
-
Method Details
-
encodeKey
- Specified by:
encodeKey
in classFSTCodedOffheapMap<Long,
V>
-