Documentation
¶
Index ¶
- Variables
- type Pool
- func (cb *Pool) GetPage(spaceId, pageNo uint64, lockType pcache.BpLockType, imtr *mtr2.Mtr) (bp *pcache.BlockPage)
- func (cb *Pool) OffsetInBlockAlign(b *byte) uint64
- func (cb *Pool) PosInBlockAlign(b *byte) *pcache.BlockPage
- func (cb *Pool) ReadPageFromFile(spaceID, pageNo uint64) *pcache.BlockPage
- func (cb *Pool) WritePageFromFile(spaceID, pageNo uint64) *pcache.BlockPage
Constants ¶
This section is empty.
Variables ¶
View Source
var UnionPageSize uint64 = 16 * 1024
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
var CP *Pool
func NewCacheBuffer ¶
func (*Pool) OffsetInBlockAlign ¶
func (*Pool) PosInBlockAlign ¶
func (*Pool) ReadPageFromFile ¶
add pageBuffer to bufferPool
func (*Pool) WritePageFromFile ¶
Click to show internal directories.
Click to hide internal directories.