|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Lock | |
|---|---|
| com.caucho.db | |
| com.caucho.db.store | |
| Uses of Lock in com.caucho.db |
|---|
| Methods in com.caucho.db that return Lock | |
|---|---|
Lock |
Database.getDatabaseLock()
Returns the database lock. |
| Uses of Lock in com.caucho.db.store |
|---|
| Methods in com.caucho.db.store that return Lock | |
|---|---|
Lock |
Store.getLock()
Returns the table's lock. |
Lock |
Block.getLock()
|
| Methods in com.caucho.db.store with parameters of type Lock | |
|---|---|
void |
Transaction.autoCommitRead(Lock lock)
If auto-commit, commit the read |
void |
Transaction.autoCommitWrite(Lock lock)
If auto-commit, commit the write |
boolean |
Transaction.hasReadLock(Lock lock)
Acquires a new read lock. |
void |
Transaction.lockRead(Lock lock)
Acquires a new write lock. |
void |
Transaction.lockReadAndWrite(Lock lock)
Acquires a new write lock. |
boolean |
Transaction.lockReadAndWriteNoWait(Lock lock)
Conditionally a new write lock, if no contention exists. |
void |
Transaction.lockWrite(Lock lock)
Acquires a new write lock. |
void |
Transaction.unlockRead(Lock lock)
|
void |
Transaction.unlockReadAndWrite(Lock lock)
|
void |
Transaction.unlockWrite(Lock lock)
|
| Constructors in com.caucho.db.store with parameters of type Lock | |
|---|---|
Store(Database database,
java.lang.String name,
Lock tableLock)
|
|
Store(Database database,
java.lang.String name,
Lock rowLock,
Path path)
Creates a new store. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||