|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.sqljet.core.internal.mutex.SqlJetEmptyMutex
public class SqlJetEmptyMutex
Constructor Summary | |
---|---|
SqlJetEmptyMutex()
|
Method Summary | |
---|---|
boolean |
attempt()
Locks mutex if it is unlocked and return true. |
void |
enter()
Locks mutex. |
boolean |
held()
Check mutex locking status. |
void |
leave()
Unlocks mutex. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SqlJetEmptyMutex()
Method Detail |
---|
public boolean attempt()
ISqlJetMutex
attempt
in interface ISqlJetMutex
public void enter()
ISqlJetMutex
enter
in interface ISqlJetMutex
public boolean held()
ISqlJetMutex
held
in interface ISqlJetMutex
public void leave()
ISqlJetMutex
leave
in interface ISqlJetMutex
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |