public class OffHeapCoder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FSTConfiguration |
conf |
| Constructor and Description |
|---|
OffHeapCoder() |
OffHeapCoder(boolean sharedRefs) |
OffHeapCoder(boolean sharedRefs,
Class... preregister)
throw
|
OffHeapCoder(Class... preregister) |
| Modifier and Type | Method and Description |
|---|---|
int |
toMemory(Object o,
long address,
int availableSize)
throws FSTBufferTooSmallException in case object does not fit into given range
|
Object |
toObject(long address,
int availableSize) |
protected FSTConfiguration conf
public OffHeapCoder()
public OffHeapCoder(boolean sharedRefs)
public OffHeapCoder(boolean sharedRefs,
Class... preregister)
preregister - public OffHeapCoder(Class... preregister)
public int toMemory(Object o, long address, int availableSize) throws IOException
o - address - availableSize - IOExceptionpublic Object toObject(long address, int availableSize) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2015. All rights reserved.