docs: protected void checkThreshold (final int nCount) throws IOException
    {
      if (!m_bThresholdExceeded && (m_nWritten + nCount > m_nThreshold))
      {
        m_bThresholdExceeded = true;
        onThresholdReached ();
      }
    }