Node Director
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
sfi.director.jobs.JobMonitor Class Reference
Inheritance diagram for sfi.director.jobs.JobMonitor:
sfi.director.jobs.RawJobMonitor

Public Member Functions

 JobMonitor ()
 JobMonitor (OutputStream out)
 JobMonitor (OutputStream out, String jobId)
void setOutput (OutputStream out)
synchronized void setJob (String jobId)
void monitor ()
void setOption (String name)
void setOption (String name, String contents)
void setOption (Options opts)
boolean isAlive ()
void log (LogEntry le)
void log (LogEntry le, int indent)
Job retrieveJob (String id)
void unmonitor (Job job)
void statusChange (Job job)
void jobLog (Job job, LogEntry le)

Static Public Member Functions

static void main (String args[])
 Test procedure.

Static Public Attributes

static CatchAllLogsJob catchAllJob = new CatchAllLogsJob()

Protected Member Functions

void traverse (String id, int indent)
void traverse (String id, int indent, Hashtable traversed)
String jobName (Job job)
Job retrieveFrom (DBConnection db, String id)
synchronized void removeMonitor (String id)
synchronized void removeAll ()
void finalize ()

Constructor & Destructor Documentation

sfi.director.jobs.JobMonitor.JobMonitor ( )
sfi.director.jobs.JobMonitor.JobMonitor ( OutputStream  out)
sfi.director.jobs.JobMonitor.JobMonitor ( OutputStream  out,
String  jobId 
)

Member Function Documentation

void sfi.director.jobs.JobMonitor.finalize ( )
protected
boolean sfi.director.jobs.JobMonitor.isAlive ( )
void sfi.director.jobs.JobMonitor.jobLog ( Job  job,
LogEntry  le 
)
String sfi.director.jobs.JobMonitor.jobName ( Job  job)
protected
void sfi.director.jobs.JobMonitor.log ( LogEntry  le)
void sfi.director.jobs.JobMonitor.log ( LogEntry  le,
int  indent 
)
static void sfi.director.jobs.JobMonitor.main ( String  args[])
static
void sfi.director.jobs.JobMonitor.monitor ( )
synchronized void sfi.director.jobs.JobMonitor.removeAll ( )
protected
synchronized void sfi.director.jobs.JobMonitor.removeMonitor ( String  id)
protected
Job sfi.director.jobs.JobMonitor.retrieveFrom ( DBConnection  db,
String  id 
)
protected
Job sfi.director.jobs.JobMonitor.retrieveJob ( String  id)
synchronized void sfi.director.jobs.JobMonitor.setJob ( String  jobId)
void sfi.director.jobs.JobMonitor.setOption ( String  name)
void sfi.director.jobs.JobMonitor.setOption ( String  name,
String  contents 
)
void sfi.director.jobs.JobMonitor.setOption ( Options  opts)
void sfi.director.jobs.JobMonitor.setOutput ( OutputStream  out)
void sfi.director.jobs.JobMonitor.statusChange ( Job  job)
void sfi.director.jobs.JobMonitor.traverse ( String  id,
int  indent 
)
protected
void sfi.director.jobs.JobMonitor.traverse ( String  id,
int  indent,
Hashtable  traversed 
)
protected
void sfi.director.jobs.JobMonitor.unmonitor ( Job  job)

Member Data Documentation

CatchAllLogsJob sfi.director.jobs.JobMonitor.catchAllJob = new CatchAllLogsJob()
static

The documentation for this class was generated from the following file: