|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Transaction | |
---|---|
org.melati.poem | Persistent Object Engine for Melati. |
org.melati.poem.transaction | The transaction API for POEM. |
Uses of Transaction in org.melati.poem |
---|
Subclasses of Transaction in org.melati.poem | |
---|---|
class |
PoemTransaction
A set of dbms actions, which can be rolled back if necessary. |
Methods in org.melati.poem that return Transaction | |
---|---|
Transaction |
Database.transaction(int index)
Get a Transaction by its index. |
Methods in org.melati.poem with parameters of type Transaction | |
---|---|
protected void |
JdbcPersistent.commit(Transaction transaction)
Previously deletion was treated as non-rollbackable, as deleteAndCommit was the only deletion mechanism. |
protected void |
JdbcPersistent.load(Transaction transaction)
Called if not uptodate. |
protected void |
JdbcPersistent.readLock(Transaction transaction)
This is just to make this method available to Table. |
protected void |
JdbcPersistent.rollback(Transaction transaction)
|
protected boolean |
JdbcPersistent.upToDate(Transaction transaction)
Whether we are up to date with respect to current Transaction. |
protected void |
JdbcPersistent.writeDown(Transaction transaction)
Write the persistent to the database if this might be necessary. |
protected void |
JdbcPersistent.writeLock(Transaction transaction)
Get a write lock on the given object if we do not already have one. |
Uses of Transaction in org.melati.poem.transaction |
---|
Methods in org.melati.poem.transaction that return Transaction | |
---|---|
Transaction |
Transaction.getBlockedOn()
|
Transaction |
TransactionPool.transaction(int index)
Get a Transaction by its index. |
Methods in org.melati.poem.transaction with parameters of type Transaction | |
---|---|
protected void |
Transactioned.commit(Transaction transaction)
|
long |
TransactionedSerial.current(Transaction transaction)
Readlock and return the serial for the given Transaction. |
void |
TransactionedSerial.increment(Transaction transaction)
Write lock and increment. |
protected void |
TransactionedSerial.load(Transaction transaction)
On load increment the Serial for this object. |
protected abstract void |
Transactioned.load(Transaction transaction)
Load the transactioned object from its backing store. |
protected void |
Transactioned.readLock(Transaction transaction)
|
protected void |
Transactioned.rollback(Transaction transaction)
|
protected void |
Transactioned.unSee(Transaction transaction)
|
protected boolean |
TransactionedSerial.upToDate(Transaction transaction)
Return the inheritted validity flag. |
protected abstract boolean |
Transactioned.upToDate(Transaction transaction)
Whether this instance is up-to-date. |
protected void |
TransactionedSerial.writeDown(Transaction transaction)
This implementation does nothing. |
protected abstract void |
Transactioned.writeDown(Transaction transaction)
|
protected void |
Transactioned.writeLock(Transaction transaction)
Get a write lock on the given object if we do not already have one. |
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |