class DropDynamicTableAction extends Object implements TransactionalAction
Modifier and Type | Field and Description |
---|---|
private boolean |
atCommit |
private boolean |
atRollback |
private String |
tableName |
Constructor and Description |
---|
DropDynamicTableAction(String tableName,
boolean atCommit,
boolean atRollback)
Create a new drop table action.
|
Modifier and Type | Method and Description |
---|---|
void |
onAfterCommit()
Called after a successful commit.
|
void |
onBeforeCommit()
This method is called before the commit is about to happen.
|
void |
onRollback()
Called after an unsuccessful commit.
|
private final String tableName
private final boolean atCommit
private final boolean atRollback
DropDynamicTableAction(String tableName, boolean atCommit, boolean atRollback)
tableName
- The name of the dynamic table that should be droppedatCommit
- If TRUE, the table should be dropped after a successful commitatRollback
- If TRUE, the table should be dropped after a rollbackpublic void onBeforeCommit()
TransactionalAction
onBeforeCommit
in interface TransactionalAction
public void onAfterCommit()
TransactionalAction
onAfterCommit
in interface TransactionalAction
public void onRollback()
TransactionalAction
onRollback
in interface TransactionalAction