Class StateRecord


  • public class StateRecord
    extends Object
    Representation of a record in the "state" table.
    • Field Detail

      • id

        public final long id
      • timestamp

        public final long timestamp
      • metric

        public final String metric
      • value

        public final long value
      • serial

        public final String serial
    • Constructor Detail

      • StateRecord

        public StateRecord​(long timestamp,
                           String metric,
                           long value,
                           String serial)
        Constructor (with empty "id").
      • StateRecord

        public StateRecord​(long id,
                           long timestamp,
                           String metric,
                           long value,
                           String serial)
        Constructor.