public final class ProcLocking extends Object implements Locking
StaticOptions.PARALLEL
,
and a single writer (readers/writer lock).
Since Version 7.6, this locking class has been replaced by DBLocking
.
It can still be activated by setting StaticOptions.GLOBALLOCK
to true
.Constructor and Description |
---|
ProcLocking(StaticOptions sopts)
Default constructor.
|
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.
|
public ProcLocking(StaticOptions sopts)
sopts
- static optionspublic void acquire(Proc pr, StringList read, StringList write)
Locking
token
for unlocking these objects again.Copyright © 2005–2015 BaseX Team. All rights reserved.