|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Locking
Lock interface; will get obsolete after database locking has been finalized.
Method Summary | |
---|---|
void |
acquire(Proc pr,
StringList read,
StringList write)
Puts read and write locks the specified databases. |
void |
downgrade(StringList write)
Unlock all string locked by a transaction. |
void |
release(Proc pr)
Unlock all string locked by a transaction. |
Method Detail |
---|
void acquire(Proc pr, StringList read, StringList write)
token
for unlocking these objects again.
pr
- processread
- names of databases to put read locks on.
Global locking is performed if the passed on reference is null
write
- names of databases to put write locks on.
Global locking is performed if the passed on reference is null
void downgrade(StringList write)
write
- write locks to keepvoid release(Proc pr)
pr
- process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |