public class SqlJetMutex extends java.lang.Object implements ISqlJetMutex
| Constructor and Description |
|---|
SqlJetMutex() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public boolean attempt()
ISqlJetMutexattempt in interface ISqlJetMutexpublic void enter()
ISqlJetMutexenter in interface ISqlJetMutexpublic boolean held()
ISqlJetMutexheld in interface ISqlJetMutexpublic void leave()
ISqlJetMutexleave in interface ISqlJetMutexCopyright © 2009-2010 TMate Software Ltd. All Rights Reserved.