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()
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
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.