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
.
Modifier and Type | Method and Description |
---|---|
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.
|
isDatabaseManaged, isSystemManaged
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.
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.
long getNumOfPages()
Returns the containers size in pages.