Class GetACARSPerformance

java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetACARSPerformance

public class GetACARSPerformance extends DAO
A Data Access Object to load ACARS client performance counter data from the database.
Since:
8.6
Version:
10.2
Author:
Luke
  • Constructor Details

    • GetACARSPerformance

      public GetACARSPerformance(Connection c)
      Initializes the Data Access Object.
      Parameters:
      c - the JDBC connection to use
  • Method Details

    • getTimers

      public Collection<TaskTimerData> getTimers(int flightID) throws DAOException
      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

      public Map<String,Integer> getCounters(int flightID) throws DAOException
      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

      public FrameRates getFrames(int flightID) throws DAOException
      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