Wisp v2.0.0 Release Notes
Release Date: 2019-03-03 // about 5 years ago-
๐ Changelog
- ๐ท #1: Allow running jobs to be cancelled at run time
- #2: Threads should not be marked as daemon
- ๐ Fix a rare bug that can lead to a freezed thread pool (can only happen when a job hangs)
- Internal thread pool now based on
ThreadPoolExecutor
- ๐ Allow the thread pool to optionally scale down
- โ Add a too long running jobs detection mechanism
โฌ๏ธ Upgrade instructions from 1.x.x version to 2.x.x version
- โฌ๏ธ If a cron schedule is used, then cron-utils must be upgraded to version 8.0.0
- โฑ Constructors
Scheduler(int maxThreads, long minimumDelayInMillisToReplaceJob)
andScheduler(int maxThreads, long minimumDelayInMillisToReplaceJob, TimeProvider timeProvider)
are deprecated in favor ofScheduler(SchedulerConfig config)
- ๐ง The monitor for long running jobs detection might be configured
Maven
\<dependency\> \<groupId\>com.coreoz\</groupId\> \<artifactId\>wisp\</artifactId\> \<version\>2.0.0\</version\> \</dependency\>