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 () |
Constructor & Destructor Documentation
| static Lock sfi.director.util.Lock.Lock |
( |
String |
what, |
|
|
int |
timeout, |
|
|
boolean |
islocal |
|
) |
| throws DirectorException |
|
static |
References sfi.director.repository.DBConnection.append(), sfi.director.util.Tools.debug(), sfi.director.repository.DN.equals(), sfi.director.repository.DBConnection.get(), sfi.director.repository.DBAccessor.getDBObject(), sfi.director.repository.DBObject.getEValue(), sfi.director.repository.DBObject.getValue(), sfi.director.util.Setup.hostname, sfi.director.util.Lock.Lock(), sfi.director.util.Tools.log(), sfi.director.util.Setup.programid, sfi.director.repository.DBConnection.remove(), sfi.director.repository.DBObject.setDN(), sfi.director.util.Lock.startLocking(), sfi.director.repository.DN.toString(), and sfi.director.util.Logger.WARNING.
Member Function Documentation
| void sfi.director.util.Lock.finalize |
( |
| ) |
|
|
protected |
| Options sfi.director.util.Lock.getOptions |
( |
| ) |
|
| synchronized void sfi.director.util.Lock.setOption |
( |
String |
name, |
|
|
String |
value |
|
) |
| |
| static void sfi.director.util.Lock.shutdown |
( |
| ) |
|
|
static |
| static void sfi.director.util.Lock.startLocking |
( |
| ) |
|
|
static |
References sfi.director.repository.DBObject.getDN(), sfi.director.repository.DBObject.getValue(), sfi.director.util.Tools.log(), sfi.director.repository.DBConnection.remove(), sfi.director.repository.DBObject.removeAttribute(), and sfi.director.repository.DN.toString().
Referenced by sfi.director.schedule.Scheduler.detach(), sfi.director.util.Lock.finalize(), sfi.director.application.DirectorPackage.freeze(), sfi.director.schedule.ParallelScheduler.goThroughCmds(), sfi.director.schedule.Scheduler.goThroughCmds(), sfi.director.application.DirectorPackage.install(), sfi.director.application.FilePackageHandler.makeAndRunCommand(), sfi.director.application.DEBPackageHandler.makeTaskPackage(), sfi.director.invoker.Recorder.record(), sfi.director.schedule.Scheduler.releaseQueue(), and sfi.director.util.Lock.shutdown().
The documentation for this class was generated from the following file: