Class MeterKey

java.lang.Object
reactor.netty.channel.MeterKey

public final class MeterKey extends Object
Contains meters' tags values. Used as a key when caching meters.
Since:
0.9.3
Author:
Violeta Georgieva
  • Constructor Details

    • MeterKey

      @Deprecated public MeterKey(@Nullable String uri, @Nullable String remoteAddress, @Nullable String method, @Nullable String status)
      Deprecated.
      as of 1.1.17. Prefer using MeterKey(String, String, String, String, String) constructor. This method will be removed in version 1.3.0.
      Creates a new meter key.
      Parameters:
      uri - the requested URI
      remoteAddress - the remote address
      method - the HTTP method
      status - the HTTP status
    • MeterKey

      public MeterKey(@Nullable String uri, @Nullable String remoteAddress, @Nullable String proxyAddress, @Nullable String method, @Nullable String status)
      Creates a new meter key.
      Parameters:
      uri - the requested URI
      remoteAddress - the remote address
      proxyAddress - the proxy address
      method - the HTTP method
      status - the HTTP status
      Since:
      1.1.17
  • Method Details