public interface TransactionServiceProvider extends TransactionService
| Modifier and Type | Method and Description |
|---|---|
RecoveryService |
getRecoveryService() |
void |
init(Properties properties) |
void |
shutdown(boolean force)
Shuts down the server in a clean way.
|
addTSListener, createCompositeTransaction, getCompositeCoordinator, getCompositeTransaction, getParticipant, recreateCompositeTransaction, removeTSListenervoid init(Properties properties) throws SysException
SysExceptionRecoveryService getRecoveryService()
void shutdown(boolean force)
TransactionServiceshutdown in interface TransactionServiceforce - If true, shutdown will not wait
for possibly indoubt txs to finish.
Calling shutdown with force being true implies that
shutdown will not fail, but there may be remaining timer
threads that stay asleep until there timeouts expire.
Such remaining active transactions will NOT be able to finish,
because the recovery manager will be shutdown by that time.
New transactions will not be allowed.Copyright © 2023. All rights reserved.