|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.server.Semaphore
public final class Semaphore
Management of executing read/write processes.
Constructor Summary | |
---|---|
Semaphore()
|
Method Summary | |
---|---|
void |
after(boolean w)
Modifications after executing a process. |
void |
before(boolean w)
Modifications before executing a process. |
boolean |
writing(Proc pr,
Context ctx)
Checks if the specified process is a writer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Semaphore()
Method Detail |
---|
public boolean writing(Proc pr, Context ctx)
pr
- processctx
- database context
public void before(boolean w)
w
- writing flagpublic void after(boolean w)
w
- writing flag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |