Class EventMeshTcpMonitor


  • public class EventMeshTcpMonitor
    extends java.lang.Object
    • Field Detail

      • monitorTpsTask

        public java.util.concurrent.ScheduledFuture<?> monitorTpsTask
      • monitorThreadPoolTask

        public java.util.concurrent.ScheduledFuture<?> monitorThreadPoolTask
    • Constructor Detail

      • EventMeshTcpMonitor

        public EventMeshTcpMonitor​(EventMeshTCPServer eventMeshTCPServer,
                                   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
      • getTcpSummaryMetrics

        public org.apache.eventmesh.metrics.api.model.TcpSummaryMetrics getTcpSummaryMetrics()
      • shutdown

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