Class HTTPMetricsServer


  • public class HTTPMetricsServer
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.util.concurrent.ScheduledExecutorService metricsSchedule  
    • Constructor Summary

      Constructors 
      Constructor Description
      HTTPMetricsServer​(EventMeshHTTPServer eventMeshHTTPServer, java.util.List<org.apache.eventmesh.metrics.api.MetricsRegistry> metricsRegistries)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.eventmesh.metrics.api.model.HttpSummaryMetrics getSummaryMetrics()  
      void init()  
      void shutdown()  
      void start()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • metricsSchedule

        protected static java.util.concurrent.ScheduledExecutorService metricsSchedule
    • Constructor Detail

      • HTTPMetricsServer

        public HTTPMetricsServer​(EventMeshHTTPServer eventMeshHTTPServer,
                                 java.util.List<org.apache.eventmesh.metrics.api.MetricsRegistry> metricsRegistries)
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • start

        public void start()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shutdown

        public void shutdown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSummaryMetrics

        public org.apache.eventmesh.metrics.api.model.HttpSummaryMetrics getSummaryMetrics()