Class: JobDispatch::Broker::IdleWorker

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

Instance Attribute Summary collapse

Instance Attribute Details

#idle_countObject

Returns the value of attribute idle_count

Returns:

  • (Object)

    the current value of idle_count



17
18
19
# File 'lib/job_dispatch/broker.rb', line 17

def idle_count
  @idle_count
end

#idle_sinceObject

Returns the value of attribute idle_since

Returns:

  • (Object)

    the current value of idle_since



17
18
19
# File 'lib/job_dispatch/broker.rb', line 17

def idle_since
  @idle_since
end

#queueObject

Returns the value of attribute queue

Returns:

  • (Object)

    the current value of queue



17
18
19
# File 'lib/job_dispatch/broker.rb', line 17

def queue
  @queue
end

#worker_idObject

Returns the value of attribute worker_id

Returns:

  • (Object)

    the current value of worker_id



17
18
19
# File 'lib/job_dispatch/broker.rb', line 17

def worker_id
  @worker_id
end

#worker_nameObject

Returns the value of attribute worker_name

Returns:

  • (Object)

    the current value of worker_name



17
18
19
# File 'lib/job_dispatch/broker.rb', line 17

def worker_name
  @worker_name
end