Class GetACARSPerformance
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetACARSPerformance
A Data Access Object to load ACARS client performance counter data from the database.
- Since:
- 8.6
- Version:
- 10.2
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCounters
(int flightID) Retrieves performance counter data for a given flight.getFrames
(int flightID) Retrieves frame rate data for a given flight.getTimers
(int flightID) Retrieves timer data for a given flight.Methods inherited from class org.deltava.dao.DAO
commitTransaction, createTimestamp, executeIDs, executeUpdate, executeUpdate, expandDate, formatDBName, formatLocation, getNewID, getQueryCount, prepare, prepareWithoutLimits, rollbackTransaction, setQueryMax, setQueryStart, setQueryTimeout, startTransaction, toID, toID, toInstant
-
Constructor Details
-
GetACARSPerformance
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getTimers
Retrieves timer data for a given flight.- Parameters:
flightID
- the ACARS Flight ID- Returns:
- a Collection of TaskTimerData beans
- Throws:
DAOException
- if a JDBC error occurs
-
getCounters
Retrieves performance counter data for a given flight.- Parameters:
flightID
- the ACARS Flight ID- Returns:
- a Map of counter values, keyed by name
- Throws:
DAOException
- if a JDBC error occurs
-
getFrames
Retrieves frame rate data for a given flight.- Parameters:
flightID
- the ACARS Flight ID- Returns:
- a FrameRates bean, or null if not found
- Throws:
DAOException
- if a JDBC error occurs
-