private boolean isUpdatedInLast24h() throws SQLException {
    Connection c = null;
    Statement s = null;
    ResultSet rs = null;
    try {
      c = this.getDatabaseConnection();
      
      if (this.checkTableExist(c)) {
        String sql = "SELECT * FROM " + this.paas.getType().name() + " LIMIT 1;";
        s = c.createStatement();
        rs = s.executeQuery(sql);
        if (rs.next())
          return (System.currentTimeMillis() - rs.getLong("LAST_UPDATE") < 86400000);
        else
          return false;
      } else
        return false;
    } finally {
      Utils.closeDBResources(s, rs);
      if (c != null)
        c.close();
    }
  }
Checks if is updated in last 24 h.

@return true, if is updated in last 24 h
@throws SQLException the SQL exception
KITE-Framework/src/main/java/org/webrtc/kite/config/paas/PaasHandler.java