public final void setTransactionsPerCheckpoint ( long persistentTransactionsPerCheckpoint , long nonPersistentTransactionsPerCheckpoint , Transaction transaction ) throws ObjectManagerException { if ( Tracing . isAnyTracingEnabled ( ) && trace . isEntryEnabled ( ) ) trace . entry ( this , cclass , "setTransactionsPerCheckpoint" , new Object [ ] { new Long ( persistentTransactionsPerCheckpoint ) , new Long ( nonPersistentTransactionsPerCheckpoint ) , transaction } ) ; transaction . lock ( objectManagerState ) ; objectManagerState . persistentTransactionsPerCheckpoint = persistentTransactionsPerCheckpoint ; objectManagerState . nonPersistentTransactionsPerCheckpoint = nonPersistentTransactionsPerCheckpoint ; // saveClonedState does not update the defaultStore. transaction . replace ( objectManagerState ) ; // Save the updates in the restartable ObjectStores. objectManagerState . saveClonedState ( transaction ) ; if ( Tracing . isAnyTracingEnabled ( ) && trace . isEntryEnabled ( ) ) trace . exit ( this , cclass , "setTransactionsPerCheckpoint" ) ; }
Create a named ManagedObject by name within this objectManager .