|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.odi.Placement
The Placement class is the abstract superclass of classes that specify where an object should be migrated or allocated. Placement is a superclass for the Cluster and Segment and Database classes.
Method Summary | |
abstract Cluster |
getCluster()
Returns the cluster specified by this Placement. |
abstract Database |
getDatabase()
Returns the database specified by this Placement. |
abstract Segment |
getSegment()
Returns the segment specified by this Placement. |
abstract Session |
getSession()
Returns the session associated with this Placement. |
Method Detail |
public abstract Database getDatabase()
DatabaseNotOpenException
- If this Placement is a database,
and the database is not open.
NoTransactionInProgressException
- If a transaction
is not in progress.
ObjectStoreException
- If the session implied by the database
has been terminated or if the current thread is associated with a
session other than the session implied by the database.public abstract Segment getSegment()
DatabaseNotOpenException
- If this Placement is a database,
and the database is not open.
NoTransactionInProgressException
- If a transaction
is not in progress.
ObjectStoreException
- If the session implied by the database
has been terminated or if the current thread is associated with a
session other than the session implied by the database.public abstract Cluster getCluster()
DatabaseNotOpenException
- If this Placement is a database,
and the database is not open.
NoTransactionInProgressException
- If a transaction
is not in progress.
ObjectStoreException
- If the session implied by the database
has been terminated or if the current thread is associated with a
session other than the session implied by the database.public abstract Session getSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |