Class ServerConnectionStats

    • Field Detail

      • ROUTER_CONNECTION_REQUEST

        public static final java.lang.String ROUTER_CONNECTION_REQUEST
        See Also:
        Constant Field Values
      • ROUTER_CONNECTION_COUNT_GAUGE

        public static final java.lang.String ROUTER_CONNECTION_COUNT_GAUGE
        See Also:
        Constant Field Values
      • CLIENT_CONNECTION_REQUEST

        public static final java.lang.String CLIENT_CONNECTION_REQUEST
        See Also:
        Constant Field Values
      • CLIENT_CONNECTION_COUNT_GAUGE

        public static final java.lang.String CLIENT_CONNECTION_COUNT_GAUGE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ServerConnectionStats

        public ServerConnectionStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                                     java.lang.String name)
    • Method Detail

      • incrementRouterConnectionCount

        public void incrementRouterConnectionCount()
      • decrementRouterConnectionCount

        public void decrementRouterConnectionCount()
      • incrementClientConnectionCount

        public void incrementClientConnectionCount()
      • decrementClientConnectionCount

        public void decrementClientConnectionCount()