class PageCreationArgs
extends java.lang.Object
CachedPage.createPage()
and used when a page object (either a
StoredPage
or an AllocPage
) is created.Modifier and Type | Field and Description |
---|---|
(package private) int |
containerInfoSize
Size of the container information stored in the
AllocPage . |
(package private) int |
formatId
Tells which type of page to create.
|
(package private) int |
minimumRecordSize
Minimum space to reserve for record portion length of row.
|
(package private) int |
pageSize
The size of the page in bytes.
|
(package private) int |
spareSpace
% of page to keep free for updates.
|
(package private) int |
syncFlag
Tells whether writes to this page should be synced.
|
Constructor and Description |
---|
PageCreationArgs(int formatId,
int syncFlag,
int pageSize,
int spareSpace,
int minimumRecordSize,
int containerInfoSize) |
final int formatId
StoredPage.FORMAT_NUMBER
or AllocPage.FORMAT_NUMBER
.final int syncFlag
CachedPage.WRITE_SYNC
or CachedPage.WRITE_NO_SYNC
, or
0 if the page is in a temporary container.final int pageSize
final int spareSpace
AllocPage
.final int minimumRecordSize
final int containerInfoSize
AllocPage
.Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.