public interface Locking
Modifier and Type | Method and Description |
---|---|
void |
acquire(Proc pr,
StringList read,
StringList write)
Puts read and write locks the specified databases.
|
void |
release(Proc pr)
Unlock all string locked by a transaction.
|
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 release(Proc pr)
pr
- processCopyright © 2005–2015 BaseX Team. All rights reserved.