|
|||||||||||
| 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
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 void |
_reset()
for JUnit tests only |
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)
|
abstract TransactionManager |
getTransactionManager(VisibilityType visibility)
returns implementation specific TransactionManager. |
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 TransactionManager getTransactionManager(VisibilityType visibility)
throws PersistenceException
visibility - Description of the Parameter
PersistenceException - Description of the Exception
public abstract PersistenceManager getPersistenceManager(VisibilityType visibility)
throws PersistenceException
PersistenceException
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 Exceptionpublic abstract void _reset()
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 | ||||||||||