lib/dynflow/dispatcher/client_dispatcher.rb
def add_record(id, time = Time.now)
          record = find_world id
          @executor[id] ||= record.data[:class] == 'Dynflow::Coordinator::ExecutorWorld'
          record.data[:meta].update(:last_seen => self.class.format_time(time))
          @world.coordinator.update_record(record)
        end
# Records when was the world seen into the world's coordinator record
#
# @param id [String] Id of the world to be added to the cache
# @param time [Time] Time when was the world last seen
Records when was the world seen into the world's coordinator record
Records when was the world seen into the world ' s coordinator record
def add_record(id, time = Time.now)
          record = find_world id
          @executor[id] ||= record.data[:class] == 'Dynflow::Coordinator::ExecutorWorld'
          record.data[:meta].update(:last_seen => self.class.format_time(time))
          @world.coordinator.update_record(record)
        end
def add_record ( id , time = Time . now ) record = find_world id @executor [ id ] ||= record . data [ :class ] == 'Dynflow::Coordinator::ExecutorWorld' record . data [ :meta ] . update ( :last_seen => self . class . format_time ( time ) ) @world . coordinator . update_record ( record ) end
Records when was the world seen into the world's coordinator record
Records when was the world seen into the world ' s coordinator record
id
Id of the world to be added to the cache
Id of the world to be added to the cache
time
Time when was the world last seen
Time when was the world last seen
now