Class: Jongleur::Task

Inherits:
Struct
  • Object
show all
Defined in:
lib/jongleur.rb

Overview

a Task is a representation of the status of an executable Jongleur class, i.e. a class derived from WorkerTask and the process that’s executing that class

Instance Attribute Summary collapse

Instance Attribute Details

#exit_statusInteger, Nil

Usually 0 for success, 1 for error or Nil otherwise



34
# File 'lib/jongleur.rb', line 34

Task = Struct.new(:name, :pid, :running, :exit_status, :finish_time, :success_status)

#finish_timeFloat, 0

of seconds since the Epoch



34
# File 'lib/jongleur.rb', line 34

Task = Struct.new(:name, :pid, :running, :exit_status, :finish_time, :success_status)

#nameString



34
# File 'lib/jongleur.rb', line 34

Task = Struct.new(:name, :pid, :running, :exit_status, :finish_time, :success_status)

#pidInteger



34
# File 'lib/jongleur.rb', line 34

Task = Struct.new(:name, :pid, :running, :exit_status, :finish_time, :success_status)

#runningBoolean



34
# File 'lib/jongleur.rb', line 34

Task = Struct.new(:name, :pid, :running, :exit_status, :finish_time, :success_status)

#success_statusBoolean, Nil



34
# File 'lib/jongleur.rb', line 34

Task = Struct.new(:name, :pid, :running, :exit_status, :finish_time, :success_status)