org.apache.ws.jaxme.sqls.db2

Interface TableSpace.DatabaseManagedContainer

All Superinterfaces:
TableSpace.Container
Known Implementing Classes:
TableSpaceImpl.DatabaseManagedContainerImpl

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

String
getDevice()
Returns the containers device name or null, if the container is located in an operating system file.
String
getFile()
Returns the containers file name or null, if the container is located in a raw device.
long
getNumOfPages()
Returns the containers size in pages.

Methods inherited from interface org.apache.ws.jaxme.sqls.db2.TableSpace.Container

isDatabaseManaged, isSystemManaged

Method Details

getDevice

public String getDevice()

getFile

public String getFile()

getNumOfPages

public long getNumOfPages()
Returns the containers size in pages.