パッケージ io.spring

クラス JobConfiguration

java.lang.ObjectSE
io.spring.JobConfiguration

@Configuration(proxyBeanMethods=false) public class JobConfiguration extends ObjectSE
作成者:
Michael Minella
  • フィールドサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    org.springframework.batch.core.repository.JobRepository
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    org.springframework.batch.core.Job
    partitionedJob(org.springframework.batch.core.partition.PartitionHandler partitionHandler)
    org.springframework.batch.core.partition.support.Partitioner
    org.springframework.batch.core.partition.PartitionHandler
    partitionHandler(org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher, org.springframework.batch.core.explore.JobExplorer jobExplorer, TaskRepository taskRepository, org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor executor)
    org.springframework.batch.core.Step
    step1(org.springframework.batch.core.partition.PartitionHandler partitionHandler)
    stepExecutionHandler(org.springframework.batch.core.explore.JobExplorer jobExplorer)
    org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
    org.springframework.batch.core.Step
    org.springframework.batch.core.step.tasklet.Tasklet
    workerTasklet(IntegerSE partitionNumber)

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
  • フィールドの詳細

    • jobRepository

      @Autowired public org.springframework.batch.core.repository.JobRepository jobRepository
    • dataSource

      @Autowired public DataSourceSE dataSource
  • コンストラクターの詳細

    • JobConfiguration

      public JobConfiguration()
  • メソッドの詳細

    • partitionHandler

      @Bean public org.springframework.batch.core.partition.PartitionHandler partitionHandler(org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher, org.springframework.batch.core.explore.JobExplorer jobExplorer, TaskRepository taskRepository, @Autowired(required=false) org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor executor) throws ExceptionSE
      例外:
      ExceptionSE
    • threadPoolTaskExecutor

      @ConditionalOnProperty(value="io.spring.asynchronous", havingValue="true", matchIfMissing=false) @Bean public org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor()
    • partitioner

      @Bean public org.springframework.batch.core.partition.support.Partitioner partitioner()
    • stepExecutionHandler

      @Bean @Profile("worker") public DeployerStepExecutionHandler stepExecutionHandler(org.springframework.batch.core.explore.JobExplorer jobExplorer)
    • workerTasklet

      @Bean @StepScope public org.springframework.batch.core.step.tasklet.Tasklet workerTasklet(@Value("#{stepExecutionContext[\'partitionNumber\']}") IntegerSE partitionNumber)
    • step1

      @Bean public org.springframework.batch.core.Step step1(org.springframework.batch.core.partition.PartitionHandler partitionHandler) throws ExceptionSE
      例外:
      ExceptionSE
    • workerStep

      @Bean public org.springframework.batch.core.Step workerStep()
    • partitionedJob

      @Bean @Profile("!worker") public org.springframework.batch.core.Job partitionedJob(org.springframework.batch.core.partition.PartitionHandler partitionHandler) throws ExceptionSE
      例外:
      ExceptionSE