| Modifier and Type | Class and Description |
|---|---|
class |
MallocBytezAllocator
Copyright (c) 2012, Ruediger Moeller.
|
| 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.
|
FSTTypedStructAllocator(int chunkSizeBytes,
T template,
BytezAllocator alloc)
see super class ..
|
FSTTypedStructAllocator(T ontpl,
int objectsPerChunk,
BytezAllocator alloc)
Create a Structallocator for the given template.
|
| 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.