code: public int getPollHeartbeatRetries() {
  
          int retries = POLL_RETRIES_DEFAULT;
  
          try {
              retries = Integer.getInteger(
                  HsqlDatabaseProperties.system_lockfile_poll_retries_property,
                  retries).intValue();
          } catch (Exception e) {}
  
          if (retries < 1) {
              retries = 1;
          }
  
          return retries;
      }
docs: Retrieves the number of times <tt>checkHeartbeat</tt> may fail before
  <tt>pollHeartbeat</tt> fails as a consequence. <p>
  
  The value is obtained in the following manner: <p>
  
  <ol>
  <li>retries is assigned <tt>POLL_RETRIES_DEFAULT</tt>.
  
  <li>retries is assigned <tt>Integer.getInteger(POLL_RETRIES_PROPERTY,
  retries)</tt> inside a try-catch block to silently ignore any security
  exception.
  
  <li>If retries is less than one (1), retries is assigned one (1).
  </ol>
  
  @return the number of times <tt>checkHeartbeat</tt> may fail before
  <tt>pollHeartbeat</tt> fails as a consequence.