Class SetSystemLog

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

public class SetSystemLog extends DAO
A Data Access Object to write HTTP statistics.
Since:
1.0
Version:
9.0
Author:
Luke
  • Constructor Details

    • SetSystemLog

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

    • write

      public void write(HTTPStatistics stats) throws DAOException
      Writes an HTTP statistics bean to the log database. This handles inserts and updates.
      Parameters:
      stats - the statistics bean
      Throws:
      DAOException - if a JDBC error occurs