Enum Monitoring.MetricTypes

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALL
      All metrics.
      DECODING_TIME
      Decoding time: Reported each time a frame is sent to the client.
      ENCODING_TIME
      Encoding time: Reported each time a frame is sent to the client.
      NETWORK_LATENCY
      Network latency: Reported every 1 second.
      NONE
      No metrics.
      NUM_CLIENTS
      Number of clients: Reported when a client is added or removed.
      NUM_CONNECTIONS
      Number of connections: Reported when a connection is added or removed.
      NUM_RENDERAREAS
      Number of render areas: Reported when a render area is added or removed.
      RENDERING_TIME
      Rendering time: Reported each time a frame is rendered.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getValue()
      Returns the integer value of the enum constant.
      static Monitoring.MetricTypes valueOf​(int val)
      Returns the enum constant of this type with the specified integer value
      static Monitoring.MetricTypes valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Monitoring.MetricTypes[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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.
    • Method Detail

      • values

        public static Monitoring.MetricTypes[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Monitoring.MetricTypes c : Monitoring.MetricTypes.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Monitoring.MetricTypes valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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.