Interface OpenbravoJDBCDelegate

    • Method Detail

      • updateSchedulerStatus

        int updateSchedulerStatus​(Connection conn,
                                  String theInstanceId,
                                  long checkInTime,
                                  String status)
                           throws SQLException
        Updates scheduler status to provided status
        Parameters:
        conn - Connection to DB
        theInstanceId - Instance id of the scheduler
        checkInTime - Time stamp when status has been updated
        status - Target status
        Returns:
        Number of columns updated in DB (more than 0, scheduler status updated)
        Throws:
        SQLException - In case of SQL error
      • schedulersStarted

        boolean schedulersStarted​(Connection conn)
                           throws SQLException
        Gets if scheduler has been started in the cluster
        Parameters:
        conn - Connection to DB
        Returns:
        true if scheduler has been started, false otherwise
        Throws:
        SQLException - In case of SQL error