Package | Description |
---|---|
org.transitime.db.structs |
Contains the descriptions of the classes for the objects that are read
and written to the database.
|
Modifier and Type | Method and Description |
---|---|
static MonitoringEvent |
MonitoringEvent.create(java.util.Date time,
java.lang.String type,
boolean triggered,
java.lang.String message,
double value)
Constructs a monitoring event and queues it to be stored in database.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<MonitoringEvent> |
MonitoringEvent.getMonitoringEvents(java.lang.String agencyId,
java.util.Date beginTime,
java.util.Date endTime,
java.lang.String sqlClause)
Reads in all MonitoringEvents from the database that were between the
beginTime and endTime.
|