public abstract class FSTSerializedOffheapMap<K,V> extends FSTCodedOffheapMap<K,V>
FSTBinaryOffheapMap.KeyValIter| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buffer |
protected ByteArrayByteSource |
tmpVal |
alloc, bytezOffset, CORE_HEADER_LEN, CUSTOM_FILEHEADER_LEN, customHeader, FILE_HEADER_LEN, freeList, GB, index, KEY_OFFSET_IN_HEADER, keyLen, mappedFile, MB, memory, numElem| Constructor and Description |
|---|
FSTSerializedOffheapMap(int keyLen,
long sizeBytes,
int numberOfElems,
FSTCoder coder) |
FSTSerializedOffheapMap(String mappedFile,
int keyLen,
long sizeMemBytes,
int numberOfElems,
FSTCoder coder) |
| Modifier and Type | Method and Description |
|---|---|
V |
decodeValue(BytezByteSource val) |
ByteSource |
encodeValue(V value) |
FSTCoder |
getCoder() |
protected int |
getEntryLengthForContentLength(long lengthOfEntry)
default is to let 100% room for later entry growth.
|
encodeKey, get, put, remove, valuesaddEntry, addToFreeList, binaryKeys, binaryValues, decElems, dumpIndexStats, finalize, free, getBinary, getCapacityMB, getContentLenFromHeader, getCustomFileHeader, getFreeMem, getHeaderLen, getLenFromHeader, getSize, getUsedMem, incElems, init, initFromFile, printBinaryKey, putBinary, removeBinary, removeEntry, setEntry, writeEntryHeaderprotected ByteArrayByteSource tmpVal
protected byte[] buffer
public FSTSerializedOffheapMap(int keyLen,
long sizeBytes,
int numberOfElems,
FSTCoder coder)
public ByteSource encodeValue(V value)
encodeValue in class FSTCodedOffheapMap<K,V>protected int getEntryLengthForContentLength(long lengthOfEntry)
getEntryLengthForContentLength in class FSTBinaryOffheapMaplengthOfEntry - public V decodeValue(BytezByteSource val)
decodeValue in class FSTCodedOffheapMap<K,V>public FSTCoder getCoder()
Copyright © 2015. All rights reserved.