| Package | Description |
|---|---|
| org.nustaq.offheap.bytez.malloc | |
| org.nustaq.offheap.bytez.onheap | |
| org.nustaq.offheap.structs | |
| org.nustaq.offheap.structs.unsafeimpl |
| Modifier and Type | Class and Description |
|---|---|
class |
MallocBytezAllocator
Copyright (c) 2012, Ruediger Moeller.
|
class |
MappedFileAllocator
Created by ruedi on 02.07.14.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HeapBytezAllocator
Copyright (c) 2012, Ruediger Moeller.
|
| Modifier and Type | Method and Description |
|---|---|
<X extends FSTStruct> |
FSTStructAllocator.newArray(int size,
X templ,
BytezAllocator alloc)
create a new struct array of same type as template
|
<S extends FSTStruct> |
FSTStructAllocator.newStruct(S aTemplate,
BytezAllocator alloc) |
| Constructor and Description |
|---|
FSTStructAllocator(int chunkSizeBytes,
BytezAllocator allocator)
optionally uses another allocator (e.g. for Real Off Heap with MallocBytez)
Warning: Currently there is not automatic free for OffHeap Bytez, so only use for
statically allocated structures.
|
| Modifier and Type | Method and Description |
|---|---|
Bytez |
FSTStructFactory.toByteArray(FSTStruct onHeapStruct,
BytezAllocator allocator) |
<T extends FSTStruct> |
FSTStructFactory.toStruct(T onHeap,
BytezAllocator alloc) |
Copyright © 2014. All rights reserved.