Class: Bitcask::HintFile::Entry

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



7
8
9
# File 'lib/bitcask/hint_file.rb', line 7

def key
  @key
end

#tstampObject

Returns the value of attribute tstamp

Returns:

  • (Object)

    the current value of tstamp



7
8
9
# File 'lib/bitcask/hint_file.rb', line 7

def tstamp
  @tstamp
end

#value_posObject

Returns the value of attribute value_pos

Returns:

  • (Object)

    the current value of value_pos



7
8
9
# File 'lib/bitcask/hint_file.rb', line 7

def value_pos
  @value_pos
end

#value_szObject

Returns the value of attribute value_sz

Returns:

  • (Object)

    the current value of value_sz



7
8
9
# File 'lib/bitcask/hint_file.rb', line 7

def value_sz
  @value_sz
end