Class DataWithRecord<T>

java.lang.Object
org.rostore.v2.container.DataWithRecord<T>
Type Parameters:
T -

public class DataWithRecord<T> extends Object
Represents a combination of the value data and the metadata associated with the entry
  • Constructor Details

    • DataWithRecord

      public DataWithRecord(Record record, T data)
  • Method Details

    • getRecord

      public Record getRecord()
      Provides a metadata of the entry
      Returns:
      the record
    • getData

      public T getData()
      Provides the value data
      Returns:
      the value's data