public class PageSnapshot extends WALRecord implements WalRecordCacheGroupAware
WALRecord.RecordPurpose, WALRecord.RecordType| Constructor and Description |
|---|
PageSnapshot(FullPageId fullId,
byte[] arr,
int realPageSize) |
PageSnapshot(FullPageId fullPageId,
long ptr,
int pageSize,
int realPageSize)
This constructor doesn't actually create a page snapshot (copy), it creates a wrapper over page memory region.
|
| Modifier and Type | Method and Description |
|---|---|
FullPageId |
fullPageId() |
int |
groupId() |
byte[] |
pageData() |
ByteBuffer |
pageDataBuffer() |
int |
pageDataSize() |
int |
realPageSize() |
String |
toString() |
WALRecord.RecordType |
type() |
public PageSnapshot(FullPageId fullId, byte[] arr, int realPageSize)
fullId - Full page ID.arr - Read array.realPageSize - Page size without encryption overhead.public PageSnapshot(FullPageId fullPageId, long ptr, int pageSize, int realPageSize)
fullPageId - Full page ID.ptr - Pointer to wrap.pageSize - Page size.realPageSize - Page size without encryption overhead.public WALRecord.RecordType type()
public byte[] pageData()
public int pageDataSize()
public ByteBuffer pageDataBuffer()
public FullPageId fullPageId()
public int groupId()
groupId in interface WalRecordCacheGroupAwarepublic int realPageSize()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021