Class AsyncJobConfig
-
- All Implemented Interfaces:
public final class AsyncJobConfigAsync Job Processing Configuration
- Since:
1.0.0
Elizabeth Paige Harper https://github.com/foxcapades
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAsyncJobConfig.BuilderAsync Job Config Builder
-
Constructor Summary
Constructors Constructor Description AsyncJobConfig(JobExecutorFactory executorFactory)Creates a new AsyncJobConfig instance. AsyncJobConfig(JobExecutorFactory executorFactory, Integer expirationDays)Creates a new AsyncJobConfig instance.
-
Method Summary
Modifier and Type Method Description final static AsyncJobConfig.Builderbuilder()Creates and returns a new Builder instance. final static AsyncJobConfigbuild(Function1<AsyncJobConfig.Builder, Unit> fn)-
-
Constructor Detail
-
AsyncJobConfig
AsyncJobConfig(JobExecutorFactory executorFactory)
Creates a new AsyncJobConfig instance.- Parameters:
executorFactory- Provider for JobExecutor instances that will be used to process individual jobs.
-
AsyncJobConfig
AsyncJobConfig(JobExecutorFactory executorFactory, Integer expirationDays)
Creates a new AsyncJobConfig instance.- Parameters:
executorFactory- Provider for JobExecutor instances that will be used to process individual jobs.expirationDays- Number of days after a job was last accessed that it may be expired and pruned.
-
-
Method Detail
-
builder
final static AsyncJobConfig.Builder builder()
Creates and returns a new Builder instance.
-
build
final static AsyncJobConfig build(Function1<AsyncJobConfig.Builder, Unit> fn)
-
-
-
-