public interface Alloc
| Modifier and Type | Method and Description |
|---|---|
long |
alloc(int chunks,
long prevPos,
int prevChunks)
Allocates a block of specified number of chunks in a segment tier, optionally clears the
previous allocation.
|
long alloc(int chunks,
long prevPos,
int prevChunks)
chunks - chunks to allocateprevPos - the previous position to clear, -1 if not neededprevChunks - the size of the previous allocation to clear, 0 if not neededRuntimeException - if fails to allocate a blockCopyright © 2024. All rights reserved.