spring-framework / org.springframework.scheduling.concurrent / ScheduledExecutorFactoryBean / setContinueScheduledExecutionAfterException

setContinueScheduledExecutionAfterException

open fun setContinueScheduledExecutionAfterException(continueScheduledExecutionAfterException: Boolean): Unit

Specify whether to continue the execution of a scheduled task after it threw an exception.

Default is "false", matching the native behavior of a java.util.concurrent.ScheduledExecutorService. Switch this flag to "true" for exception-proof execution of each task, continuing scheduled execution as in the case of successful execution.

See Also
java.util.concurrent.ScheduledExecutorService#scheduleAtFixedRate