public interface TripMonitorPortal
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHANNEL_CONNECTION_KEY
channel info key for the connection status
|
static java.lang.String |
DATE_FORMAT
Date format for passing dates as strings
|
static java.lang.String |
PV_KEY
key for the PV
|
static java.lang.String |
TIMESTAMP_KEY
key for the timestamp
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.HashMap<java.lang.String,java.lang.Object>> |
getChannelInfo(java.lang.String monitorName)
Get the list of all PVs we are attempting to monitor and log.
|
java.lang.String |
getHostName()
Get the name of the host where the application is running.
|
java.util.Date |
getLaunchTime()
Get the launch time of the service.
|
int |
getTripHistoryCount(java.lang.String monitorName)
Get the number of trip records in the history buffer of the specified trip monitor
|
java.util.List<java.lang.String> |
getTripMonitorNames()
Get the trip monitor labels
|
java.util.List<java.util.HashMap<java.lang.String,java.lang.Object>> |
getTripRecords(java.lang.String monitorName)
Get the trip records in the history buffer of the specified trip monitor
|
boolean |
isEnabled(java.lang.String monitorName)
Determine if the specified monitor is enabled
|
int |
publishTrips()
Publish the trips
|
int |
shutdown(int code)
Shutdown the process.
|
static final java.lang.String DATE_FORMAT
static final java.lang.String TIMESTAMP_KEY
static final java.lang.String PV_KEY
static final java.lang.String CHANNEL_CONNECTION_KEY
int shutdown(int code)
code
- The shutdown code which is normally just 0.java.lang.String getHostName()
java.util.Date getLaunchTime()
java.util.List<java.lang.String> getTripMonitorNames()
boolean isEnabled(java.lang.String monitorName)
java.util.List<java.util.HashMap<java.lang.String,java.lang.Object>> getChannelInfo(java.lang.String monitorName)
monitorName
- name of the trip monitor for which to get the channel informationint getTripHistoryCount(java.lang.String monitorName)
monitorName
- name of the trip monitorjava.util.List<java.util.HashMap<java.lang.String,java.lang.Object>> getTripRecords(java.lang.String monitorName)
monitorName
- name of the trip monitorint publishTrips()