Class JDBCQueryMonitor

  • All Implemented Interfaces:
    ServiceMonitor

    public final class JDBCQueryMonitor
    extends JDBCMonitor

    JDBCQueryMonitor class.

    Version:
    $Id: $
    Author:
    ranger
    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
    • Constructor Detail

      • JDBCQueryMonitor

        public JDBCQueryMonitor()
                         throws java.lang.ClassNotFoundException,
                                java.lang.InstantiationException,
                                java.lang.IllegalAccessException

        Constructor for JDBCQueryMonitor.

        Throws:
        java.lang.ClassNotFoundException - if any.
        java.lang.InstantiationException - if any.
        java.lang.IllegalAccessException - if any.
    • Method Detail

      • checkDatabaseStatus

        public PollStatus checkDatabaseStatus​(java.sql.Connection con,
                                              java.util.Map<java.lang.String,​java.lang.Object> parameters)

        checkDatabaseStatus

        Overrides:
        checkDatabaseStatus in class JDBCMonitor
        Parameters:
        con - a Connection object.
        parameters - a Map object.
        Returns:
        a PollStatus object.