org.apache.ws.jaxme.sqls.db2

Interface TableSpace.DatabaseManagedContainer

public static interface TableSpace.DatabaseManagedContainer extends TableSpace.Container

Interface of a database managed container. The container may be located in an operating system file with preallocated size or in a raw operating system device. A container may be casted to a DatabaseManagedContainer, if and only if isDatabaseManaged() == true.

Method Summary
StringgetDevice()

Returns the containers device name or null, if the container is located in an operating system file.

StringgetFile()

Returns the containers file name or null, if the container is located in a raw device.

longgetNumOfPages()

Returns the containers size in pages.

Method Detail

getDevice

public String getDevice()

Returns the containers device name or null, if the container is located in an operating system file. In the latter case it is guaranteed, that getDevice returns a non-null value.

getFile

public String getFile()

Returns the containers file name or null, if the container is located in a raw device. In the latter case it is guaranteed, that getDevice returns a non-null value.

getNumOfPages

public long getNumOfPages()

Returns the containers size in pages.