Class: Wurk::Topology::Slot

Inherits:
Struct
  • Object
show all
Defined in:
lib/wurk/topology.rb

Overview

:count shadows Struct#count by design — Slot is a kw-init data carrier and the slot's child-count is the field users read.

Instance Attribute Summary collapse

Instance Attribute Details

#concurrency ⇒ Object

Returns the value of attribute concurrency

Returns:

  • (Object) —

    the current value of concurrency



18
19
20
# File 'lib/wurk/topology.rb', line 18

def concurrency
  @concurrency
end

#count ⇒ Object

Returns the value of attribute count

Returns:

  • (Object) —

    the current value of count



18
19
20
# File 'lib/wurk/topology.rb', line 18

def count
  @count
end

#queues ⇒ Object

Returns the value of attribute queues

Returns:

  • (Object) —

    the current value of queues



18
19
20
# File 'lib/wurk/topology.rb', line 18

def queues
  @queues
end