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.



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

def initialize(position)
  @queues = []
  @position = position
  @tracked_outer = false
end

Instance Attribute Details

#positionObject (readonly)

Returns the value of attribute position.



4
5
6
# File 'lib/contrek/finder/concurrent/end_point.rb', line 4

def position
  @position
end

#queuesObject (readonly)

Returns the value of attribute queues.



4
5
6
# File 'lib/contrek/finder/concurrent/end_point.rb', line 4

def queues
  @queues
end

#tracked_outerObject

Returns the value of attribute tracked_outer.



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

def tracked_outer
  @tracked_outer
end

Instance Method Details

#inspectObject



12
13
14
# File 'lib/contrek/finder/concurrent/end_point.rb', line 12

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