org.apache.ws.jaxme.sqls.db2
Interface BufferPool


public interface BufferPool

Interface of a DB2 BufferPool. This object is used to create a CREATE BUFFERPOOL ... statement.

Author:
Jochen Wiedmann

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

getName

BufferPool.Name getName()

Returns the BufferPool's name. BufferPool names are unique within the database.


getPageSize

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.


getNumberOfPages

int getNumberOfPages()

Returns the buffer pools size in number of pages.


setExtendedStorage

void setExtendedStorage(java.lang.Boolean pExtendedStorage)

Sets whether extended storage may be used. Defaults to null, in which case the DB2 defaults are choosen.


getExtendedStorage

java.lang.Boolean getExtendedStorage()

Returns whether extended storage may be used. Defaults to false.