public class DBRollbackManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DBRollbackManager.ReleaseAction
Connection release action
|
| Constructor and Description |
|---|
DBRollbackManager(int initialConnectionCapacity,
int initialObjectCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendHandler(Connection conn,
DBRollbackHandler handler)
Add a rollback handler for a particular Connection
|
void |
releaseConnection(Connection conn,
DBRollbackManager.ReleaseAction action)
releaseConnection from handler and perform
|
void |
removeHandler(Connection conn,
DBObject object)
Remove the rollback handler for a particular Connection and Object
|
public DBRollbackManager(int initialConnectionCapacity,
int initialObjectCapacity)
public void appendHandler(Connection conn, DBRollbackHandler handler)
conn - handler - public void removeHandler(Connection conn, DBObject object)
conn - object - public void releaseConnection(Connection conn, DBRollbackManager.ReleaseAction action)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.