|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transaction
A database transaction.
Field Summary | |
---|---|
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). |
Fields inherited from interface org.axiondb.Database |
---|
COMMIT_SIZE |
Method Summary | |
---|---|
Set |
getModifiedTables()
Return a Set of Table s that have been modified thus far in this
transaction. |
Database |
getOpenOnTransaction()
Get the Database upon which I am open (i.e., the state to which we will
return to if I am rolled back. |
Set |
getReadTables()
Return a Set of Table s that have been read thus far in this
transaction. |
int |
getState()
Return my current transaction state. |
Methods inherited from interface org.axiondb.Transactable |
---|
apply, commit, rollback |
Field Detail |
---|
static final int STATE_ABORTED
static final int STATE_APPLIED
static final int STATE_COMMITTED
static final int STATE_OPEN
Method Detail |
---|
Set getModifiedTables()
Set
of Table
s that have been modified thus far in this
transaction.
Database getOpenOnTransaction()
Database
upon 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
.
Set getReadTables()
Set
of Table
s that have been read thus far in this
transaction.
int getState()
STATE_OPEN
,
STATE_COMMITTED
,STATE_ABORTED
,STATE_APPLIED
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |