Class: Bitcask::DataFile::Entry
- Inherits:
-
Struct
- Object
- Struct
- Bitcask::DataFile::Entry
- Defined in:
- lib/bitcask/data_file.rb
Overview
A single Bitcask data 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 ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
7 8 9 |
# File 'lib/bitcask/data_file.rb', line 7 def key @key end |
#tstamp ⇒ Object
Returns the value of attribute tstamp
7 8 9 |
# File 'lib/bitcask/data_file.rb', line 7 def tstamp @tstamp end |
#value ⇒ Object
Returns the value of attribute value
7 8 9 |
# File 'lib/bitcask/data_file.rb', line 7 def value @value end |