Package | Description |
---|---|
org.wildfly.swarm.batch.jberet |
Modifier and Type | Method and Description |
---|---|
BatchFraction |
BatchFraction.applyDefaults() |
static BatchFraction |
BatchFraction.createDefaultFraction()
Creates a default batch fraction.
|
BatchFraction |
BatchFraction.defaultJobRepository(DatasourcesFraction datasource)
Adds a new JDBC job repository using the datasource name as the job repository name and sets it as the default job
repository.
|
BatchFraction |
BatchFraction.defaultJobRepository(InMemoryJobRepository<?> jobRepository)
Adds the in-memory job repository as the default job repository.
|
BatchFraction |
BatchFraction.defaultJobRepository(JDBCJobRepository<?> jobRepository)
Adds the JDBC job repository as the default job repository.
|
BatchFraction |
BatchFraction.defaultJobRepository(String name,
DatasourcesFraction datasource)
Adds a new JDBC job repository and sets it as the default job repository.
|
BatchFraction |
BatchFraction.defaultThreadPool(int maxThreads,
int keepAliveTime,
TimeUnit keepAliveUnits)
Creates a new thread-pool using the default name.
|
BatchFraction |
BatchFraction.defaultThreadPool(String name,
int maxThreads,
int keepAliveTime,
TimeUnit keepAliveUnits)
Creates a new thread-pool and sets the created thread-pool as the default thread-pool for batch jobs.
|
BatchFraction |
BatchFraction.jdbcJobRepository(DatasourcesFraction datasource)
Creates a new JDBC job repository using the name of the datasource for the job repository name.
|
BatchFraction |
BatchFraction.jdbcJobRepository(String name,
DatasourcesFraction datasource)
Creates a new JDBC job repository.
|
BatchFraction |
BatchFraction.threadPool(int maxThreads,
int keepAliveTime,
TimeUnit keepAliveUnits)
Creates a new thread-pool using the default name that can be used for batch jobs.
|
BatchFraction |
BatchFraction.threadPool(String name,
int maxThreads,
int keepAliveTime,
TimeUnit keepAliveUnits)
Creates a new thread-pool that can be used for batch jobs.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.