Class: StrokeDB::Skiplist::TailNode
- Defined in:
- lib/strokedb/data_structures/skiplist.rb
Overview
also proxy-to-next-chunk node
Instance Attribute Summary collapse
-
#next_list ⇒ Object
Returns the value of attribute next_list.
Attributes inherited from Node
#_serialized_index, #forward, #key, #timestamp, #value
Instance Method Summary collapse
- #<(key) ⇒ Object
- #<=(key) ⇒ Object
-
#initialize ⇒ TailNode
constructor
A new instance of TailNode.
- #to_s ⇒ Object
Methods inherited from Node
Constructor Details
#initialize ⇒ TailNode
Returns a new instance of TailNode.
288 289 290 |
# File 'lib/strokedb/data_structures/skiplist.rb', line 288 def initialize super 1, nil, nil end |
Instance Attribute Details
#next_list ⇒ Object
Returns the value of attribute next_list.
287 288 289 |
# File 'lib/strokedb/data_structures/skiplist.rb', line 287 def next_list @next_list end |
Instance Method Details
#<(key) ⇒ Object
291 292 293 |
# File 'lib/strokedb/data_structures/skiplist.rb', line 291 def <(key) false end |
#<=(key) ⇒ Object
294 295 296 |
# File 'lib/strokedb/data_structures/skiplist.rb', line 294 def <=(key) false end |
#to_s ⇒ Object
297 298 299 |
# File 'lib/strokedb/data_structures/skiplist.rb', line 297 def to_s "tail(#{level})" end |