Class: Farce::Unshared::PriorityQueue
- Inherits:
-
Abstract::PriorityQueue
- Object
- Abstract::Queue
- Abstract::PriorityQueue
- Farce::Unshared::PriorityQueue
- Includes:
- Farce::Unshareable, Internal::UnsharedQueueWaiting
- Defined in:
- lib/farce/unshared/priority_queue.rb
Overview
A priority queue that stores and returns values directly.
Instance Attribute Summary
Attributes inherited from Abstract::PriorityQueue
Attributes inherited from Abstract::Queue
#capacity, #num_waiting, #size
Instance Method Summary collapse
-
#mode ⇒ Symbol
Always returns :local.
Methods included from Farce::Unshareable
#initialize, #ractor_shareable?
Methods inherited from Abstract::PriorityQueue
#delete, #first_priority, #initialize, #last_priority, #peek, #pop, #push, #try_pop, #try_push, #wait_pop
Methods inherited from Abstract::Queue
#age_tracking?, #clear, #close, #closed?, #deq, #duplicable?, #empty?, #enq, #full?, #generation, #initialize, #length, #max, #oldest_age, #oldest_enqueued_at, #pop, #push, #seal, #sealed?, #try_pop, #try_push, #wait_pop, #wait_push
Instance Method Details
#mode ⇒ Symbol
Returns always returns :local.
13 |
# File 'lib/farce/unshared/priority_queue.rb', line 13 def mode = :local |