Enum Class DatumDaoStat

java.lang.Object
java.lang.Enum<DatumDaoStat>
net.solarnetwork.node.dao.jdbc.general.DatumDaoStat
All Implemented Interfaces:
Serializable, Comparable<DatumDaoStat>, Constable, net.solarnetwork.util.StatCounter.Stat

public enum DatumDaoStat extends Enum<DatumDaoStat> implements net.solarnetwork.util.StatCounter.Stat
Stats for MQTT message persistence.
Since:
2.1
Version:
1.0
Author:
matt
  • Enum Constant Details

    • DatumStored

      public static final DatumDaoStat DatumStored
      Stored datum.
    • DatumUploaded

      public static final DatumDaoStat DatumUploaded
      Uploaded datum.
    • DatumDeleted

      public static final DatumDaoStat DatumDeleted
      Deleted datum.
  • Method Details

    • values

      public static DatumDaoStat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DatumDaoStat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndex

      public int getIndex()
      Specified by:
      getIndex in interface net.solarnetwork.util.StatCounter.Stat
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface net.solarnetwork.util.StatCounter.Stat