Class DefaultEndpointUtilizationStatistics

  • All Implemented Interfaces:
    org.apache.camel.spi.EndpointUtilizationStatistics

    public class DefaultEndpointUtilizationStatistics
    extends Object
    implements org.apache.camel.spi.EndpointUtilizationStatistics
    • Constructor Detail

      • DefaultEndpointUtilizationStatistics

        public DefaultEndpointUtilizationStatistics​(int maxCapacity)
    • Method Detail

      • maxCapacity

        public int maxCapacity()
        Specified by:
        maxCapacity in interface org.apache.camel.spi.EndpointUtilizationStatistics
      • size

        public int size()
        Specified by:
        size in interface org.apache.camel.spi.EndpointUtilizationStatistics
      • onHit

        public void onHit​(String uri)
        Specified by:
        onHit in interface org.apache.camel.spi.EndpointUtilizationStatistics
      • remove

        public void remove​(String uri)
        Specified by:
        remove in interface org.apache.camel.spi.EndpointUtilizationStatistics
      • getStatistics

        public Map<String,​Long> getStatistics()
        Specified by:
        getStatistics in interface org.apache.camel.spi.EndpointUtilizationStatistics
      • clear

        public void clear()
        Specified by:
        clear in interface org.apache.camel.spi.EndpointUtilizationStatistics