Class: Bitcask::HintFile::Entry
- Inherits:
-
Struct
- Object
- Struct
- Bitcask::HintFile::Entry
- Defined in:
- lib/bitcask/hint_file.rb
Overview
A single Bitcask hint file.
This is most definitely not threadsafe, but it’s so cheap you might as well make lots of copies.
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#tstamp ⇒ Object
Returns the value of attribute tstamp.
-
#value_pos ⇒ Object
Returns the value of attribute value_pos.
-
#value_sz ⇒ Object
Returns the value of attribute value_sz.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
7 8 9 |
# File 'lib/bitcask/hint_file.rb', line 7 def key @key end |
#tstamp ⇒ Object
Returns the value of attribute tstamp
7 8 9 |
# File 'lib/bitcask/hint_file.rb', line 7 def tstamp @tstamp end |
#value_pos ⇒ Object
Returns the value of attribute value_pos
7 8 9 |
# File 'lib/bitcask/hint_file.rb', line 7 def value_pos @value_pos end |
#value_sz ⇒ Object
Returns the value of attribute value_sz
7 8 9 |
# File 'lib/bitcask/hint_file.rb', line 7 def value_sz @value_sz end |