backend.globaleaks.jobs.job

Module Contents

Classes

Job
LoopingJob
HourlyJob
DailyJob
JobsMonitor
backend.globaleaks.jobs.job.TRACK_LAST_N_EXECUTIONS = 10[source]
class backend.globaleaks.jobs.job.Job[source]

Bases: twisted.internet.task.LoopingCall

state[source]
interval = 1[source]
low_time[source]
high_time[source]
mean_time[source]
start_time[source]
active[source]
last_executions = [][source]
start(self, interval)[source]
stop(self)[source]
run(self)[source]
begin(self)[source]
end(self)[source]
operation(self)[source]
get_delay(self)[source]
on_error(self, excep)[source]
class backend.globaleaks.jobs.job.LoopingJob[source]

Bases: backend.globaleaks.jobs.job.Job

interval = 60[source]
monitor_interval = 60[source]
monitor_period[source]
last_monitor_check_failed = 0[source]
on_error(self, excep)[source]
class backend.globaleaks.jobs.job.HourlyJob[source]

Bases: backend.globaleaks.jobs.job.LoopingJob

interval = 3600[source]
get_delay(self)[source]
class backend.globaleaks.jobs.job.DailyJob[source]

Bases: backend.globaleaks.jobs.job.LoopingJob

interval[source]
get_delay(self)[source]
class backend.globaleaks.jobs.job.JobsMonitor(jobs_list)[source]

Bases: backend.globaleaks.jobs.job.LoopingJob

interval = 1[source]
operation(self)[source]