public static class TableSpaceImpl.DatabaseManagedContainerImpl extends java.lang.Object implements TableSpace.DatabaseManagedContainer
Constructor and Description |
---|
TableSpaceImpl.DatabaseManagedContainerImpl() |
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.
|
boolean |
isDatabaseManaged()
Returns whether the container is database managed
If this is the case, the container may be casted to a
TableSpace.DatabaseManagedContainer . |
boolean |
isSystemManaged()
Returns whether the container is system managed
(aka an operating system file).
|
void |
setDevice(java.lang.String pDevice) |
void |
setFile(java.lang.String pFile) |
void |
setNumOfPages(long pNumOfPages) |
public TableSpaceImpl.DatabaseManagedContainerImpl()
public boolean isSystemManaged()
TableSpace.Container
Returns whether the container is system managed
(aka an operating system file). If this is the case,
the container may be casted to a
TableSpace.SystemManagedContainer
.
isSystemManaged
in interface TableSpace.Container
public boolean isDatabaseManaged()
TableSpace.Container
Returns whether the container is database managed
If this is the case, the container may be casted to a
TableSpace.DatabaseManagedContainer
.
isDatabaseManaged
in interface TableSpace.Container
public void setFile(java.lang.String pFile)
public java.lang.String getFile()
TableSpace.DatabaseManagedContainer
Returns the containers file name or null, if the
container is located in a raw device. In the latter case
it is guaranteed, that TableSpace.DatabaseManagedContainer.getDevice()
returns a
non-null value.
getFile
in interface TableSpace.DatabaseManagedContainer
public void setDevice(java.lang.String pDevice)
public java.lang.String getDevice()
TableSpace.DatabaseManagedContainer
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 TableSpace.DatabaseManagedContainer.getDevice()
returns a non-null value.
getDevice
in interface TableSpace.DatabaseManagedContainer
public long getNumOfPages()
TableSpace.DatabaseManagedContainer
Returns the containers size in pages.
getNumOfPages
in interface TableSpace.DatabaseManagedContainer
public void setNumOfPages(long pNumOfPages)