Class EngineChannelStatus
- java.lang.Object
-
- org.epics.archiverappliance.engine.epics.EngineChannelStatus
-
- All Implemented Interfaces:
org.json.simple.JSONAware
public class EngineChannelStatus extends Object implements org.json.simple.JSONAware
POJO for engine status for a PV- Author:
- mshankar
-
-
Constructor Summary
Constructors Constructor Description EngineChannelStatus(PVMetrics metrics)
-
Method Summary
-
-
-
Constructor Detail
-
EngineChannelStatus
public EngineChannelStatus(PVMetrics metrics)
-
-
Method Detail
-
getPvName
public String getPvName()
-
setPvName
public EngineChannelStatus setPvName(String pvName)
-
getEpochSecondsOfLastEvent
public long getEpochSecondsOfLastEvent()
-
setEpochSecondsOfLastEvent
public EngineChannelStatus setEpochSecondsOfLastEvent(long epochSecondsOfLastEvent)
-
getLastRotateLogsEpochSeconds
public long getLastRotateLogsEpochSeconds()
-
setLastRotateLogsEpochSeconds
public EngineChannelStatus setLastRotateLogsEpochSeconds(long lastRotateLogsEpochSeconds)
-
isMonitored
public boolean isMonitored()
-
setMonitored
public EngineChannelStatus setMonitored(boolean isMonitored)
-
getSamplingPeriod
public double getSamplingPeriod()
-
setSamplingPeriod
public EngineChannelStatus setSamplingPeriod(float samplingPeriod)
-
getConnectionFirstEstablishedEpochSeconds
public long getConnectionFirstEstablishedEpochSeconds()
-
setConnectionFirstEstablishedEpochSeconds
public EngineChannelStatus setConnectionFirstEstablishedEpochSeconds(long connectionFirstEstablishedEpochSeconds)
-
getConnectionLastRestablishedEpochSeconds
public long getConnectionLastRestablishedEpochSeconds()
-
setConnectionLastRestablishedEpochSeconds
public EngineChannelStatus setConnectionLastRestablishedEpochSeconds(long connectionLastRestablishedEpochSeconds)
-
getConnectionLossRegainCount
public long getConnectionLossRegainCount()
-
setConnectionLossRegainCount
public EngineChannelStatus setConnectionLossRegainCount(int connectionLossRegainCount)
-
isConnectionState
public boolean isConnectionState()
-
setConnectionState
public EngineChannelStatus setConnectionState(boolean connectionState)
-
toJSONString
public String toJSONString()
Return a RFC4627-compliant JSON version of this POJO.- Specified by:
toJSONString
in interfaceorg.json.simple.JSONAware
- Returns:
- String RFC4627-compliant JSON
-
-