The Batch fraction provides support for scheduled job execution, through JSR-352.
For additional information about JBeret please see the JBeret User’s Guide.
<dependency> <groupId>org.wildfly.swarm</groupId> <artifactId>batch-jberet</artifactId> </dependency>
The name of the default job repository.
The name of the default thread-pool.
The data source name used to connect to the database.
If set to true when a resume operation has be invoked after a suspend operation any jobs stopped during the suspend will be restarted. A value of false will leave the jobs in a stopped state.
Specifies the name of a thread group to create for this thread factory.
The name of the created thread factory.
May be used to specify the thread priority of created threads.
The template used to create names for threads. The following patterns may be used\:\n\t%% - emit a percent sign\n\t%t - emit the per-factory thread sequence number\n\t%g - emit the global thread sequence number\n\t%f - emit the factory sequence number\n\t%i - emit the thread ID.
The approximate number of threads that are actively executing tasks.
The approximate total number of tasks that have completed execution.
The current number of threads in the pool.
Used to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down.
The largest number of threads that have ever simultaneously been in the pool.
The maximum thread pool size. Note this should always be greater than 3. Two threads are reserved to ensure partition jobs can execute as expected.
The name of the thread pool.
The queue size.
The number of tasks that have been rejected.
The approximate total number of tasks that have ever been scheduled for execution.
Specifies the name of a specific thread factory to use to create worker threads. If not defined an appropriate default thread factory will be used.