Interface RuntimeEndpointRegistry.Statistic

Enclosing interface:
RuntimeEndpointRegistry

public static interface RuntimeEndpointRegistry.Statistic
Statistics gathered about the endpoint.
  • Method Summary

    Modifier and Type
    Method
    Description
    Whether the endpoint is used as input our output
    long
    Usage of the endpoint, such as how many messages it has received / sent to
    default long
    Maximum message body size in bytes (-1 if not available)
    default long
    Maximum message headers size in bytes (-1 if not available)
    default long
    Mean message body size in bytes (-1 if not available)
    default long
    Mean message headers size in bytes (-1 if not available)
    default long
    Minimum message body size in bytes (-1 if not available)
    default long
    Minimum message headers size in bytes (-1 if not available)
    The route id (if the endpoint is associated with a route)
    The endpoint uri
  • Method Details

    • getUri

      String getUri()
      The endpoint uri
    • getRouteId

      String getRouteId()
      The route id (if the endpoint is associated with a route)
    • getDirection

      String getDirection()
      Whether the endpoint is used as input our output

      The returned value can either be in or out

    • getHits

      long getHits()
      Usage of the endpoint, such as how many messages it has received / sent to

      This information is only available if ManagementStatisticsLevel is configured as ManagementStatisticsLevel.Extended.

    • getMinBodySize

      default long getMinBodySize()
      Minimum message body size in bytes (-1 if not available)
      Since:
      4.21
    • getMaxBodySize

      default long getMaxBodySize()
      Maximum message body size in bytes (-1 if not available)
      Since:
      4.21
    • getMeanBodySize

      default long getMeanBodySize()
      Mean message body size in bytes (-1 if not available)
      Since:
      4.21
    • getMinHeadersSize

      default long getMinHeadersSize()
      Minimum message headers size in bytes (-1 if not available)
      Since:
      4.21
    • getMaxHeadersSize

      default long getMaxHeadersSize()
      Maximum message headers size in bytes (-1 if not available)
      Since:
      4.21
    • getMeanHeadersSize

      default long getMeanHeadersSize()
      Mean message headers size in bytes (-1 if not available)
      Since:
      4.21