Class: Henitai::SlotScheduler::Slot

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

Overview

Tracks one in-flight mutant child process.

Instance Attribute Summary collapse

Instance Attribute Details

#drainingObject

Returns the value of attribute draining

Returns:

  • (Object)

    the current value of draining



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def draining
  @draining
end

#forced_outcomeObject

Returns the value of attribute forced_outcome

Returns:

  • (Object)

    the current value of forced_outcome



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def forced_outcome
  @forced_outcome
end

#log_pathsObject

Returns the value of attribute log_paths

Returns:

  • (Object)

    the current value of log_paths



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def log_paths
  @log_paths
end

#mutantObject

Returns the value of attribute mutant

Returns:

  • (Object)

    the current value of mutant



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def mutant
  @mutant
end

#pidObject

Returns the value of attribute pid

Returns:

  • (Object)

    the current value of pid



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def pid
  @pid
end

#retry_countObject

Returns the value of attribute retry_count

Returns:

  • (Object)

    the current value of retry_count



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def retry_count
  @retry_count
end

#slot_idObject

Returns the value of attribute slot_id

Returns:

  • (Object)

    the current value of slot_id



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def slot_id
  @slot_id
end

#started_at_monotonicObject

Returns the value of attribute started_at_monotonic

Returns:

  • (Object)

    the current value of started_at_monotonic



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def started_at_monotonic
  @started_at_monotonic
end

#term_sent_at_monotonicObject

Returns the value of attribute term_sent_at_monotonic

Returns:

  • (Object)

    the current value of term_sent_at_monotonic



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def term_sent_at_monotonic
  @term_sent_at_monotonic
end

#timeoutObject

Returns the value of attribute timeout

Returns:

  • (Object)

    the current value of timeout



27
28
29
# File 'lib/henitai/slot_scheduler.rb', line 27

def timeout
  @timeout
end