Class EngineMetrics
java.lang.Object
org.epics.archiverappliance.engine.epics.EngineMetrics
- All Implemented Interfaces:
Details
POJO with some basic metrics.
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EngineMetricscomputeEngineMetrics(EngineContext engineContext, ConfigService configService) details(ConfigService configService) intdoubleintdoubleintintdoubleintvoidsetConnectedPVCount(int connectedPVCount) voidsetDataRate(double dataRate) voidsetDisconnectedPVCount(int disconnectedPVCount) voidsetEventRate(double eventRate) voidsetPausedPVCount(int pausedPVCount) voidsetPvCount(int pvCount) voidsetSecondsConsumedByWriter(double secondsConsumedByWriter) voidsetTotalEPICSChannels(int totalEPICSChannels) source()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.epics.archiverappliance.common.reports.Details
metricDetail
-
Constructor Details
-
EngineMetrics
public EngineMetrics()
-
-
Method Details
-
getSecondsConsumedByWriter
public double getSecondsConsumedByWriter() -
setSecondsConsumedByWriter
public void setSecondsConsumedByWriter(double secondsConsumedByWriter) -
getEventRate
public double getEventRate() -
setEventRate
public void setEventRate(double eventRate) -
getDataRate
public double getDataRate() -
setDataRate
public void setDataRate(double dataRate) -
getPvCount
public int getPvCount() -
setPvCount
public void setPvCount(int pvCount) -
getDisconnectedPVCount
public int getDisconnectedPVCount() -
setDisconnectedPVCount
public void setDisconnectedPVCount(int disconnectedPVCount) -
toJSONString
-
details
-
computeEngineMetrics
public static EngineMetrics computeEngineMetrics(EngineContext engineContext, ConfigService configService) -
getConnectedPVCount
public int getConnectedPVCount() -
setConnectedPVCount
public void setConnectedPVCount(int connectedPVCount) -
getTotalEPICSChannels
public int getTotalEPICSChannels() -
setTotalEPICSChannels
public void setTotalEPICSChannels(int totalEPICSChannels) -
getPausedPVCount
public int getPausedPVCount()- Returns:
- the pausedPVCount
-
setPausedPVCount
public void setPausedPVCount(int pausedPVCount) - Parameters:
pausedPVCount- the pausedPVCount to set
-
source
-