|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.database.connection.Transaction
org.glite.security.voms.database.connection.ClientTransaction
org.glite.security.voms.database.connection.Update
A subclass of Transaction for updates with convenient transaction management.
Field Summary |
Fields inherited from class org.glite.security.voms.database.connection.Transaction |
conn |
Method Summary | |
static Update |
begin()
Allocates an Update from the connection pool, and starts a transaction on it. |
void |
commit()
Commit the current transaction, and release this connection. |
long |
getTransaction()
Returns the transaction value. |
boolean |
isInTransaction(long id)
Return true if the wrapper is still in the specified transaction. |
void |
registerChange(RowCache rc,
Cacheable c)
|
void |
rollback()
Roll back the current transaction, and release this connection. |
java.lang.String |
toString()
|
void |
writeTransactionTimestampIfNecessary()
Write a new timestamp record for the last transaction if necessary. |
Methods inherited from class org.glite.security.voms.database.connection.ClientTransaction |
getClient, getClientCA, getClientDN, getClientId, setClient |
Methods inherited from class org.glite.security.voms.database.connection.Transaction |
getConnection, getStatement, getStatementCount, isReadOnly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static Update begin() throws VOMSException
VOMSException
public void registerChange(RowCache rc, Cacheable c)
public void commit() throws GeneralDatabaseException
GeneralDatabaseException
public void rollback() throws GeneralDatabaseException
GeneralDatabaseException
public boolean isInTransaction(long id)
public long getTransaction()
transaction
value.
public void writeTransactionTimestampIfNecessary() throws VOMSException
VOMSException
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |