|
Public Member Functions |
| | Lock (boolean islocal) throws DirectorException |
| synchronized void | unlock () throws DirectorException |
| synchronized void | setOption (String name, String value) |
| | set lock option.
|
| Options | getOptions () |
| | get options associated with this lock.
|
Static Public Member Functions |
| static Lock | inspect (String what) throws DirectorException |
| static Lock | inspect (String what, boolean islocal) throws DirectorException |
| static void | startLocking () |
| static Lock | LocalLock (String what, int timeout) throws DirectorException |
| static Lock | LocalLock (String what) throws DirectorException |
| static Lock | Lock (String what, int timeout) throws DirectorException |
| static Lock | Lock (String what) throws DirectorException |
| static Lock | Lock (String what, int timeout, boolean islocal) throws DirectorException |
| static Lock | Lock (String what, boolean islocal) throws DirectorException |
| static void | shutdown () |
Protected Member Functions |
| void | finalize () |
Static Package Attributes |
| static Vector | locks = new Vector() |
| static Thread | locker |
| static final int | lock_renewal = 60*1000 |
| static final int | lock_release = 120*1000 |