Class: Rubcask::DataEntry

Inherits:
Struct
  • Object
show all
Includes:
ExpirableEntry
Defined in:
lib/rubcask/data_entry.rb

Instance Attribute Summary collapse

Method Summary

Methods included from ExpirableEntry

#expired?

Instance Attribute Details

#expire_timestampObject

Returns the value of attribute expire_timestamp

Returns:

  • (Object)

    the current value of expire_timestamp



6
7
8
# File 'lib/rubcask/data_entry.rb', line 6

def expire_timestamp
  @expire_timestamp
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



6
7
8
# File 'lib/rubcask/data_entry.rb', line 6

def key
  @key
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



6
7
8
# File 'lib/rubcask/data_entry.rb', line 6

def value
  @value
end