Class: Contrek::Concurrent::EndPoint

Inherits:
Object
  • Object
show all
Defined in:
lib/contrek/finder/concurrent/end_point.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#positionObject (readonly)

Returns the value of attribute position.



6
7
8
# File 'lib/contrek/finder/concurrent/end_point.rb', line 6

def position
  @position
end

#queuesObject (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_outerObject

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

#inspectObject



14
15
16
# File 'lib/contrek/finder/concurrent/end_point.rb', line 14

def inspect
  "EndPoint[#{@queues.size}]"
end