public interface BufferPool
Interface of a DB2 BufferPool. This object is used to create a
CREATE BUFFERPOOL ...
statement.
Modifier and Type | Interface and Description |
---|---|
static interface |
BufferPool.Name |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getExtendedStorage()
Returns whether extended storage may be used.
|
BufferPool.Name |
getName()
Returns the BufferPool's name.
|
int |
getNumberOfPages()
Returns the buffer pools size in number of pages.
|
PageSize |
getPageSize()
Returns the BufferPool's page size.
|
void |
setExtendedStorage(java.lang.Boolean pExtendedStorage)
Sets whether extended storage may be used.
|
BufferPool.Name getName()
Returns the BufferPool's name. BufferPool names are unique within the database.
PageSize getPageSize()
Returns the BufferPool's page size. See the secion "CREATE BUFFERPOOL" in the DB2 reference manual for limitations on the value. Examples: 8192 (bytes) or 8K (Kilobytes).
Default is null, in which case the DB2 default (4K, as of this writing) applies.
int getNumberOfPages()
Returns the buffer pools size in number of pages.
void setExtendedStorage(java.lang.Boolean pExtendedStorage)
Sets whether extended storage may be used. Defaults to null, in which case the DB2 defaults are choosen.
java.lang.Boolean getExtendedStorage()
Returns whether extended storage may be used. Defaults to false.