public void incRetryCount ( ) { m_nRetries ++ ; m_aPreviousRetryDT = PDTFactory . getCurrentLocalDateTime ( ) ; m_aNextRetryDT = m_aPreviousRetryDT . plusMinutes ( PDServerConfiguration . getReIndexRetryMinutes ( ) ) ; }
Increment the number of retries and update the previous and the next retry datetime .