示例#1
0
 def task_revoked(event):
     state.event(event)
     monitorManager.fire(TASK_REVOKED, state, event, app)
示例#2
0
 def task_retried(event):
     state.event(event)
     monitorManager.fire(TASK_RETRIED, state, event, app)
示例#3
0
 def worker_offline(event):
     state.event(event)
     #         print state,event
     monitorManager.fire(WORKER_OFFLINE, state, event, app)
示例#4
0
 def task_started(event):
     state.event(event)
     monitorManager.fire(TASK_STARTED, state, event, app)
示例#5
0
 def worker_online(event):
     state.event(event)
     monitorManager.fire(WORKER_ONLINE, state, event, app)
示例#6
0
 def task_received(event):
     state.event(event)
     monitorManager.fire(TASK_RECEIVED, state, event, app)
示例#7
0
 def task_sent(event):
     state.event(event)
     monitorManager.fire(TASK_SENT, state, event, app)
示例#8
0
 def task_succeeded(event):
     state.event(event)
     monitorManager.fire(TASK_SUCCEEDED, state, event, app)
示例#9
0
 def task_failed(event):
     #         print state.alive_workers()
     state.event(event)
     monitorManager.fire(TASK_FAILED, state, event, app)