Class PageCreationArgs
- java.lang.Object
-
- org.apache.derby.impl.store.raw.data.PageCreationArgs
-
class PageCreationArgs extends java.lang.ObjectThis class holds information that is passed toCachedPage.createPage()and used when a page object (either aStoredPageor anAllocPage) is created.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intcontainerInfoSizeSize of the container information stored in theAllocPage.(package private) intformatIdTells which type of page to create.(package private) intminimumRecordSizeMinimum space to reserve for record portion length of row.(package private) intpageSizeThe size of the page in bytes.(package private) intspareSpace% of page to keep free for updates.(package private) intsyncFlagTells whether writes to this page should be synced.
-
Constructor Summary
Constructors Constructor Description PageCreationArgs(int formatId, int syncFlag, int pageSize, int spareSpace, int minimumRecordSize, int containerInfoSize)
-
-
-
Field Detail
-
formatId
final int formatId
Tells which type of page to create. EitherStoredPage.FORMAT_NUMBERorAllocPage.FORMAT_NUMBER.
-
syncFlag
final int syncFlag
Tells whether writes to this page should be synced. Should beCachedPage.WRITE_SYNCorCachedPage.WRITE_NO_SYNC, or 0 if the page is in a temporary container.
-
pageSize
final int pageSize
The size of the page in bytes.
-
spareSpace
final int spareSpace
% of page to keep free for updates. Not used forAllocPage.
-
minimumRecordSize
final int minimumRecordSize
Minimum space to reserve for record portion length of row.
-
containerInfoSize
final int containerInfoSize
Size of the container information stored in theAllocPage.
-
-