Enum Class Monitoring.MetricTypes

java.lang.Object
java.lang.Enum<Monitoring.MetricTypes>
com.openinventor.remoteviz.rendering.Monitoring.MetricTypes
All Implemented Interfaces:
IntegerValuedEnum, Serializable, Comparable<Monitoring.MetricTypes>, Constable
Enclosing class:
Monitoring

public static enum Monitoring.MetricTypes extends Enum<Monitoring.MetricTypes> implements IntegerValuedEnum
Types of metrics.
  • Enum Constant Details

    • NONE

      public static final Monitoring.MetricTypes NONE
      No metrics.
    • NETWORK_LATENCY

      public static final Monitoring.MetricTypes NETWORK_LATENCY
      Network latency: Reported every 1 second.
    • DECODING_TIME

      public static final Monitoring.MetricTypes DECODING_TIME
      Decoding time: Reported each time a frame is sent to the client.
    • RENDERING_TIME

      public static final Monitoring.MetricTypes RENDERING_TIME
      Rendering time: Reported each time a frame is rendered.
    • ENCODING_TIME

      public static final Monitoring.MetricTypes ENCODING_TIME
      Encoding time: Reported each time a frame is sent to the client.
    • NUM_CLIENTS

      public static final Monitoring.MetricTypes NUM_CLIENTS
      Number of clients: Reported when a client is added or removed.
    • NUM_CONNECTIONS

      public static final Monitoring.MetricTypes NUM_CONNECTIONS
      Number of connections: Reported when a connection is added or removed.
    • NUM_RENDERAREAS

      public static final Monitoring.MetricTypes NUM_RENDERAREAS
      Number of render areas: Reported when a render area is added or removed.
    • ALL

      public static final Monitoring.MetricTypes ALL
      All metrics.
  • Method Details

    • values

      public static Monitoring.MetricTypes[] 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 Monitoring.MetricTypes 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
    • valueOf

      public static Monitoring.MetricTypes valueOf(int val)
      Returns the enum constant of this type with the specified integer value
      Returns:
      the enum constant of this type with the specified integer value.
    • getValue

      public int getValue()
      Description copied from interface: IntegerValuedEnum
      Returns the integer value of the enum constant.
      Specified by:
      getValue in interface IntegerValuedEnum
      Returns:
      the integer value of the enum constant.