notifyWaitingTransactions() Notify each thread that is associated with a currently blocked
transaction by calling notifyAll() on the blocked transaction.
Handle the specified command on behalf of the current thread/transaction.
This method is called by the InvokeServer after it has handled
InvokeServer specific command.
Handle the specified command on behalf of the current thread/transaction.
This method is called by the InvokeServer after it has handled
InvokeServer specific command.
Factory method to generate proper Lock objects. These Lock objects are
used in the store backend but they have to be generated in the core to
meet the requirements of the transaction implementation.
Perform the specified command on behalf of the specified
thread/transaction. If the transaction has performed only one command
until now, this handles deadlocks by re-performing the command again
until it throws an exception or completes sucessfully. Otherwise an
exception is thrown
True if the command did not throw an exception throws: Exception - Any exception always signals an internal error.
Prepare the specified transaction. Return true on success and false
if something failed. In this case the transaction is rolled back. This
method throws an exception only if an internal server error occured.
public void startGarbageCollectionWaitForCurrentTransactionsToCompletePhase(GarbageCollector garbageCollector)(Code)
Starts the GarbageColection pre-phase. This is the time where all transactions have to complete (either commit or rollback)
until there are no transactions left which were created before this call.