Class: Contrek::Concurrent::EndPoint
- Inherits:
-
Object
- Object
- Contrek::Concurrent::EndPoint
- Defined in:
- lib/contrek/finder/concurrent/end_point.rb
Instance Attribute Summary collapse
-
#position ⇒ Object
readonly
Returns the value of attribute position.
-
#queues ⇒ Object
readonly
Returns the value of attribute queues.
-
#tracked_outer ⇒ Object
Returns the value of attribute tracked_outer.
Instance Method Summary collapse
-
#initialize(position) ⇒ EndPoint
constructor
A new instance of EndPoint.
- #inspect ⇒ Object
Constructor Details
#initialize(position) ⇒ EndPoint
Returns a new instance of EndPoint.
8 9 10 11 12 |
# File 'lib/contrek/finder/concurrent/end_point.rb', line 8 def initialize(position) @queues = [] @position = position @tracked_outer = false end |
Instance Attribute Details
#position ⇒ Object (readonly)
Returns the value of attribute position.
6 7 8 |
# File 'lib/contrek/finder/concurrent/end_point.rb', line 6 def position @position end |
#queues ⇒ Object (readonly)
Returns the value of attribute queues.
6 7 8 |
# File 'lib/contrek/finder/concurrent/end_point.rb', line 6 def queues @queues end |
#tracked_outer ⇒ Object
Returns the value of attribute tracked_outer.
7 8 9 |
# File 'lib/contrek/finder/concurrent/end_point.rb', line 7 def tracked_outer @tracked_outer end |
Instance Method Details
#inspect ⇒ Object
14 15 16 |
# File 'lib/contrek/finder/concurrent/end_point.rb', line 14 def inspect "EndPoint[#{@queues.size}]" end |