Class: Concurrent::Edge::LockFreeLinkedSet::Head
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
|
|
|
Instance Chain:
self,
Node,
Comparable,
Synchronization::Object,
Synchronization::Volatile,
Synchronization::AbstractObject
|
|
| Inherits: |
Concurrent::Edge::LockFreeLinkedSet::Node
|
| Defined in: | lib/concurrent-ruby-edge/concurrent/edge/lock_free_linked_set/node.rb |
Overview
Internal sentinel node for the Head of the set. Head is always smaller than any other node.
Class Attribute Summary
Synchronization::Object - Inherited
Class Method Summary
Node - Inherited
Synchronization::Object - Inherited
| .atomic_attribute?, .atomic_attributes, | |
| .attr_atomic | Creates methods for reading and writing to a instance variable with volatile (Java) semantic as |
| .attr_volatile | Creates methods for reading and writing (as |
| .ensure_safe_initialization_when_final_fields_are_present | For testing purposes, quite slow. |
| .new | Has to be called by children. |
| .safe_initialization!, .define_initialize_atomic_fields | |
Synchronization::AbstractObject - Inherited
Instance Attribute Summary
Instance Method Summary
Node - Inherited
| #<=> | We use |
| #data, #key, | |
| #key_for | This method provides a unique key for the data which will be used for ordering. |
| #next_node | Next node in the list. |
| #successor_reference | |
Synchronization::Object - Inherited
Synchronization::Volatile - Included
Synchronization::AbstractObject - Inherited
Constructor Details
This class inherits a constructor from Concurrent::Edge::LockFreeLinkedSet::Node
Instance Method Details
#<=>(_other)
[ GitHub ]# File 'lib/concurrent-ruby-edge/concurrent/edge/lock_free_linked_set/node.rb', line 75
def <=>(_other) -1 end