Parent

Methods

Class/Module Index [+]

Quicksearch

OpenShift::Runtime::Iteration

Provide Plugins with timestamps of given events

@!attribute [r] epoch

@return [DateTime] when was Watchman started?

@!attribute [r] last_run

@return [DateTime] when did the last iteration of Watchman start?

@!attribute [r] current_run

@return [DateTime] when did this iteration of Watchman start?

Attributes

current_run[R]
epoch[R]
last_run[R]

Public Class Methods

new(epoch, last_run, current_run = DateTime.now) click to toggle source
# File lib/openshift-origin-node/model/watchman/watchman_plugin.rb, line 111
def initialize(epoch, last_run, current_run = DateTime.now)
  @epoch       = epoch
  @last_run    = last_run
  @current_run = current_run
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.