public class BufferPool extends Object
| Constructor and Description |
|---|
BufferPool(int pageSize,
int poolSize,
boolean isDirect) |
| Modifier and Type | Method and Description |
|---|---|
PageBuffer |
allocateBufferPage()
申请内存页
|
public BufferPool(int pageSize,
int poolSize,
boolean isDirect)
pageSize - 内存页大小poolSize - 内存页个数isDirect - 是否使用直接缓冲区public PageBuffer allocateBufferPage()
Copyright © 2020. All rights reserved.