public class DefaultPoolExceptionHandler extends Object implements ExceptionHandler
| Constructor and Description |
|---|
DefaultPoolExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
RecoveryStrategy |
onException(JobExecutor jobExecutor,
Exception exception,
String curQueue)
Called when a worker encounters an exception.
|
public RecoveryStrategy onException(JobExecutor jobExecutor, Exception exception, String curQueue)
onException in interface ExceptionHandlerjobExecutor - the worker that encountered the exceptionexception - the exceptioncurQueue - the current queue being processedRecoveryStrategy to useCopyright © 2011–2019. All rights reserved.