Class OverallMetrics
java.lang.Object
top.magstar.framework.events.models.monitors.OverallMetrics
-
Constructor Summary
ConstructorsConstructorDescriptionOverallMetrics(long totalEventsPublished, long totalEventsProcessed, long totalEventsFailed, long totalHandlerInvocations, int eventTypes, int handlers, long uptimeSeconds) -
Method Summary
Modifier and TypeMethodDescriptiondoubleintintdoublelonglonglonglonglong
-
Constructor Details
-
OverallMetrics
public OverallMetrics(long totalEventsPublished, long totalEventsProcessed, long totalEventsFailed, long totalHandlerInvocations, int eventTypes, int handlers, long uptimeSeconds)
-
-
Method Details
-
getTotalEventsPublished
public long getTotalEventsPublished() -
getTotalEventsProcessed
public long getTotalEventsProcessed() -
getTotalEventsFailed
public long getTotalEventsFailed() -
getTotalHandlerInvocations
public long getTotalHandlerInvocations() -
getEventTypes
public int getEventTypes() -
getHandlers
public int getHandlers() -
getUptimeSeconds
public long getUptimeSeconds() -
getSuccessRate
public double getSuccessRate() -
getEventsPerSecond
public double getEventsPerSecond()
-