Package | Description |
---|---|
com.caucho.db.xa |
Modifier and Type | Method and Description |
---|---|
void |
DbTransaction.autoCommitRead(DatabaseLock lock)
If auto-commit, commit the read
|
void |
DbTransaction.autoCommitWrite(DatabaseLock lock)
If auto-commit, commit the write
|
boolean |
DbTransaction.hasReadLock(DatabaseLock lock)
Acquires a new read lock.
|
void |
DbTransaction.lockRead(DatabaseLock lock)
Acquires a new write lock.
|
void |
DbTransaction.lockReadAndWrite(DatabaseLock lock)
Acquires a new write lock.
|
boolean |
DbTransaction.lockReadAndWriteNoWait(DatabaseLock lock)
Conditionally a new write lock, if no contention exists.
|
void |
DbTransaction.unlockRead(DatabaseLock lock) |
void |
DbTransaction.unlockReadAndWrite(DatabaseLock lock) |