public interface Transaction extends Database, Transactable
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_ABORTED
Aborted.
|
static int |
STATE_APPLIED
Applied.
|
static int |
STATE_COMMITTED
Committed, but not yet applied.
|
static int |
STATE_OPEN
Open (neither committed nor aborted yet).
|
COMMIT_SIZE| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getModifiedTables()
Return a
Setof Tables that have been modified thus far in this
transaction. |
Database |
getOpenOnTransaction()
Get the
Databaseupon which I am open (i.e., the state to which we will
return to if I am rolled back. |
java.util.Set |
getReadTables()
Return a
Setof Tables that have been read thus far in this
transaction. |
int |
getState()
Return my current transaction state.
|
addDatabaseModificationListener, addIndex, addIndex, addTable, checkpoint, createDatabaseLink, createSequence, dropDatabaseLink, dropDependentExternalDBTable, dropDependentViews, dropIndex, dropSequence, dropTable, getDatabaseLink, getDatabaseModificationListeners, getDataType, getDBDirectory, getDependentExternalDBTable, getDependentViews, getFunction, getGlobalVariable, getIndexFactory, getName, getSequence, getTable, getTable, getTableFactory, getTransactionManager, hasDatabaseLink, hasIndex, hasSequence, hasTable, hasTable, isReadOnly, migrate, remount, renameTable, shutdown, tableAlteredapply, commit, rollbackstatic final int STATE_ABORTED
static final int STATE_APPLIED
static final int STATE_COMMITTED
static final int STATE_OPEN
java.util.Set getModifiedTables()
Setof Tables that have been modified thus far in this
transaction.Database getOpenOnTransaction()
Databaseupon which I am open (i.e., the state to which we will
return to if I am rolled back. Note that this may be another
Transaction.java.util.Set getReadTables()
Setof Tables that have been read thus far in this
transaction.int getState()
STATE_OPEN,
STATE_COMMITTED,STATE_ABORTED,STATE_APPLIED.