public class MappedFileAllocator extends Object implements BytezAllocator
| Constructor and Description |
|---|
MappedFileAllocator() |
| Modifier and Type | Method and Description |
|---|---|
Bytez |
alloc(long len) |
protected void |
allocFile(File f) |
void |
free(Bytez bytes) |
void |
freeAll() |
static void |
main(String[] arg) |
protected void allocFile(File f) throws IOException
IOExceptionpublic Bytez alloc(long len)
alloc in interface BytezAllocatorpublic void free(Bytez bytes)
free in interface BytezAllocatorpublic void freeAll()
freeAll in interface BytezAllocatorpublic static void main(String[] arg) throws IOException
IOExceptionCopyright © 2014. All rights reserved.