org.apache.ws.jaxme.sqls.db2
Interface TableSpace.DatabaseManagedContainer

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

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
 java.lang.String getDevice()
          Returns the containers device name or null, if the container is located in an operating system file.
 java.lang.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 Detail

getFile

java.lang.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.


getDevice

java.lang.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.


getNumOfPages

long getNumOfPages()

Returns the containers size in pages.