# Uses of Class
com.norconex.commons.lang.exec.Retrier

Packages that use Retrier
Package
Description
com.norconex.commons.lang.exec
Utility classes related to process/code execution.

- ## Uses of Retrier in com.norconex.commons.lang.exec

  Methods in com.norconex.commons.lang.exec that return Retrier
  Modifier and Type
  Method
  Description
  `Retrier`
  Retrier.`setExceptionFilter(ExceptionFilter exceptionFilter)`
  Sets an exception filter that limits the exceptions eligible for retry.
  `Retrier`
  Retrier.`setMaxCauses(int maxCauses)`
  Sets the maximum number of exception causes to keep when all attempts were made and a `RetriableException` is thrown.
  `Retrier`
  Retrier.`setMaxRetries(int maxRetries)`
  Sets the maximum number of retries (the initial run does not count as a retry).
  `Retrier`
  Retrier.`setRetryDelay(long retryDelay)`
  Sets the delay in milliseconds before attempting to execute again.