|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tmatesoft.sqljet.core.internal.mutex.SqlJetMutex
public class SqlJetMutex
| Constructor Summary | |
|---|---|
SqlJetMutex()
|
|
| 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 SqlJetMutex()
| Method Detail |
|---|
public boolean attempt()
ISqlJetMutex
attempt in interface ISqlJetMutexpublic void enter()
ISqlJetMutex
enter in interface ISqlJetMutexpublic boolean held()
ISqlJetMutex
held in interface ISqlJetMutexpublic void leave()
ISqlJetMutex
leave in interface ISqlJetMutex
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||