|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of a DB2 BufferPool. This object is used to create a
CREATE BUFFERPOOL ...
statement.
Nested Class Summary | |
static interface |
BufferPool.Name
|
Method Summary | |
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. |
Method Detail |
public BufferPool.Name getName()
Returns the BufferPool's name. BufferPool names are unique within the database.
public 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.
public int getNumberOfPages()
Returns the buffer pools size in number of pages.
public void setExtendedStorage(java.lang.Boolean pExtendedStorage)
Sets whether extended storage may be used. Defaults to null, in which case the DB2 defaults are choosen.
public java.lang.Boolean getExtendedStorage()
Returns whether extended storage may be used. Defaults to false.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |