Class EventMeshTcpMonitor
- java.lang.Object
-
- org.apache.eventmesh.runtime.metrics.tcp.EventMeshTcpMonitor
-
public class EventMeshTcpMonitor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.concurrent.ScheduledFuture<?>monitorThreadPoolTaskjava.util.concurrent.ScheduledFuture<?>monitorTpsTask
-
Constructor Summary
Constructors Constructor Description EventMeshTcpMonitor(EventMeshTCPServer eventMeshTCPServer, java.util.List<org.apache.eventmesh.metrics.api.MetricsRegistry> metricsRegistries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventMeshTCPServergetEventMeshTCPServer()org.apache.eventmesh.metrics.api.model.TcpSummaryMetricsgetTcpSummaryMetrics()voidinit()voidshutdown()voidstart()
-
-
-
Constructor Detail
-
EventMeshTcpMonitor
public EventMeshTcpMonitor(EventMeshTCPServer eventMeshTCPServer, java.util.List<org.apache.eventmesh.metrics.api.MetricsRegistry> metricsRegistries)
-
-
Method Detail
-
getEventMeshTCPServer
public EventMeshTCPServer getEventMeshTCPServer()
-
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
-
-