Method: Concurrent::TimerTask#execution_interval

Defined in:
lib/concurrent-ruby/concurrent/timer_task.rb,
lib/concurrent-ruby/concurrent/timer_task.rb

#execution_intervalFixnum

Returns Number of seconds after the task completes before the task is performed again.

Returns:

  • (Fixnum)

    Number of seconds after the task completes before the task is performed again.



259
260
261
# File 'lib/concurrent-ruby/concurrent/timer_task.rb', line 259

def execution_interval
  synchronize { @execution_interval }
end