Class EngineChannelStatus
java.lang.Object
org.epics.archiverappliance.engine.epics.EngineChannelStatus
- All Implemented Interfaces:
org.json.simple.JSONAware
POJO for engine status for a PV
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglongdoublebooleanbooleansetConnectionFirstEstablishedEpochSeconds(long connectionFirstEstablishedEpochSeconds) setConnectionLastRestablishedEpochSeconds(long connectionLastRestablishedEpochSeconds) setConnectionLossRegainCount(int connectionLossRegainCount) setConnectionState(boolean connectionState) setEpochSecondsOfLastEvent(long epochSecondsOfLastEvent) setLastRotateLogsEpochSeconds(long lastRotateLogsEpochSeconds) setMonitored(boolean isMonitored) setSamplingPeriod(float samplingPeriod) Return a RFC4627-compliant JSON version of this POJO.
-
Constructor Details
-
EngineChannelStatus
-
-
Method Details
-
getPvName
-
setPvName
-
getEpochSecondsOfLastEvent
public long getEpochSecondsOfLastEvent() -
setEpochSecondsOfLastEvent
-
getLastRotateLogsEpochSeconds
public long getLastRotateLogsEpochSeconds() -
setLastRotateLogsEpochSeconds
-
isMonitored
public boolean isMonitored() -
setMonitored
-
getSamplingPeriod
public double getSamplingPeriod() -
setSamplingPeriod
-
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
-
isConnectionState
public boolean isConnectionState() -
setConnectionState
-
toJSONString
Return a RFC4627-compliant JSON version of this POJO.- Specified by:
toJSONStringin interfaceorg.json.simple.JSONAware- Returns:
- String RFC4627-compliant JSON
-