Top Description Fields Constructors Methods
org.apache.derby.impl.store.raw.data

pack-priv Class PageCreationArgs

extends Object
Class Inheritance

This class holds information that is passed to CachedPage.createPage() and used when a page object (either a StoredPage or an AllocPage) is created.

Field Summary

Modifier and TypeField and Description
pack-priv final int
containerInfoSize

Size of the container information stored in the AllocPage.

pack-priv final int
formatId

Tells which type of page to create.

pack-priv final int
minimumRecordSize

Minimum space to reserve for record portion length of row.

pack-priv final int
pageSize

The size of the page in bytes.

pack-priv final int
spareSpace

% of page to keep free for updates.

pack-priv final int
syncFlag

Tells whether writes to this page should be synced.

Constructor Summary

AccessConstructor and Description
pack-priv
PageCreationArgs(int formatId, int syncFlag, int pageSize, int spareSpace, int minimumRecordSize, int containerInfoSize)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

containerInfoSizeback to summary
pack-priv final int containerInfoSize

Size of the container information stored in the AllocPage.

formatIdback to summary
pack-priv final int formatId

Tells which type of page to create. Either StoredPage.FORMAT_NUMBER or AllocPage.FORMAT_NUMBER.

minimumRecordSizeback to summary
pack-priv final int minimumRecordSize

Minimum space to reserve for record portion length of row.

pageSizeback to summary
pack-priv final int pageSize

The size of the page in bytes.

spareSpaceback to summary
pack-priv final int spareSpace

% of page to keep free for updates. Not used for AllocPage.

syncFlagback to summary
pack-priv final int syncFlag

Tells whether writes to this page should be synced. Should be CachedPage.WRITE_SYNC or CachedPage.WRITE_NO_SYNC, or 0 if the page is in a temporary container.

Constructor Detail

PageCreationArgsback to summary
pack-priv PageCreationArgs(int formatId, int syncFlag, int pageSize, int spareSpace, int minimumRecordSize, int containerInfoSize)