Enum ChannelMeters

java.lang.Object
java.lang.Enum<ChannelMeters>
reactor.netty.channel.ChannelMeters
All Implemented Interfaces:
io.micrometer.core.instrument.docs.MeterDocumentation, Serializable, Comparable<ChannelMeters>, java.lang.constant.Constable

public enum ChannelMeters extends Enum<ChannelMeters> implements io.micrometer.core.instrument.docs.MeterDocumentation
Channel meters.
Since:
1.1.0
Author:
Marcin Grzejszczak, Violeta Georgieva
  • Enum Constant Details

    • CONNECTIONS_TOTAL

      public static final ChannelMeters CONNECTIONS_TOTAL
      The number of all opened connections on the server.
    • DATA_RECEIVED

      public static final ChannelMeters DATA_RECEIVED
      Amount of the data received, in bytes.
    • DATA_SENT

      public static final ChannelMeters DATA_SENT
      Amount of the data sent, in bytes.
    • ERRORS_COUNT

      public static final ChannelMeters ERRORS_COUNT
      Number of errors that occurred.
  • Method Details

    • values

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

      public static ChannelMeters valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null