|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sap.ip.me.api.persist.core.PersistenceRuntime
public abstract class PersistenceRuntime
A PersistenceRuntime instance provides access to PersistenceManager holds all registered PackagePersistenceMaster instances.
PersistenceRuntime does not consider ConversationId, it provides a singleton instance.
| Constructor Summary | |
|---|---|
PersistenceRuntime()
|
|
| Method Summary | |
|---|---|
abstract ClassDescriptor |
getClassDescriptor(java.lang.String classtype)
Gets the classDescriptor attribute of the PersistenceRuntime object |
static PersistenceRuntime |
getInstance()
Returns the singleton instance attribute of the PersistenceRuntime class. |
abstract PersistenceManager |
getPersistenceManager(VisibilityType visibility)
returns implementation specific PersistenceManager. |
void |
optimizeDatabase()
Triggers database specific optimizations. |
abstract void |
registerPersistenceMaster(PackagePersistenceMaster persistenceMaster)
Registers a PackagePersistanceMaster instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceRuntime()
| Method Detail |
|---|
public static PersistenceRuntime getInstance()
public abstract PersistenceManager getPersistenceManager(VisibilityType visibility)
throws PersistenceException
visibility - Description of the Parameter
PersistenceException - Description of the Exception
public abstract void registerPersistenceMaster(PackagePersistenceMaster persistenceMaster)
throws PersistenceException
The PackagePersistanceMaster provides descriptive information on Entity instances to be persisted.
persistenceMaster - Description of the Parameter
PersistenceException - Description of the Exception
public abstract ClassDescriptor getClassDescriptor(java.lang.String classtype)
throws PersistenceException
classtype - Description of the Parameter
PersistenceException - Description of the Exception
public void optimizeDatabase()
throws PersistenceException
FileIO: Currently no operation.
DB2e: Table reorganisation (shrinks fragmented tables). This is also a default operation on MI startup, so calling this in your application is not necessary.
MaxDB: Runs an update of the optimizer statistics of all tables to speed up queries after large data inserts. This operation might take very long.
PersistenceException - on any errors
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||