|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sqlite.Mutex
public class Mutex
sqlite3_mutex wrapper class.
NOTE: SQLite 3.5.7 based.
Constructor Summary | |
---|---|
Mutex(int type)
invoke sqlite3_mutex_alloc() function. |
Method Summary | |
---|---|
void |
enter()
invoke sqlite3_mutex_enter() function. |
protected void |
finalize()
invoke free() method. |
void |
free()
invoke sqlite3_mutex_free() function. |
boolean |
held()
invoke sqlite3_mutex_held() function. |
void |
leave()
invoke sqlite3_mutex_leave() function. |
boolean |
notHeld()
invoke sqlite3_mutex_notheld() function. |
int |
try_()
invoke sqlite3_mutex_try() function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mutex(int type)
type
- the mutex type.Method Detail |
---|
public void enter()
public void free()
public void leave()
public int try_()
public boolean held()
public boolean notHeld()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
free()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |