Class DataEntryBase

  • Direct Known Subclasses:
    MemoryRecord

    public class DataEntryBase
    extends Object
    A base class for data entries.
    • Constructor Detail

      • DataEntryBase

        public DataEntryBase​(@Nullable
                             String key,
                             @Nullable
                             ZonedDateTime timestamp)
        Creates an instance of a DataEntryBase.
        Parameters:
        key - The key of the data.
        timestamp - The timestamp of the data.
    • Method Detail

      • getKey

        public String getKey()
        Gets the key of the data.
        Returns:
        The key of the data
      • getTimestamp

        @Nullable
        public ZonedDateTime getTimestamp()
        Gets the timestamp of the data.
        Returns:
        The timestamp of the data.