public interface MemorySegmentPool extends MemorySegmentSource
Modifier and Type | Method and Description |
---|---|
int |
freePages() |
int |
pageSize()
Get the page size of each page this pool holds.
|
void |
returnAll(List<MemorySegment> memory)
Return all pages back into this pool.
|
nextSegment
int pageSize()
void returnAll(List<MemorySegment> memory)
memory
- the pages which want to be returned.int freePages()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.