RemotePartitioningManagerStepBuilder
を使用してください。@Deprecated public class RemotePartitioningMasterStepBuilder extends PartitionStepBuilder
MessageChannelPartitionHandler
を作成および設定します。messagingTemplate(MessagingTemplate)
を介して messagingTemplate
が提供されない場合、このビルダーは、outputChannel(MessageChannel)
を介して提供される outputChannel
にデフォルトチャンネルを作成して設定します。
messagingTemplate
が提供される場合、完全に構成され、そのデフォルトチャネルはワーカーへのリクエストが送信される出力チャネルに設定されていると想定されます。
StepBuilderHelper.CommonStepProperties
logger, properties
コンストラクターと説明 |
---|
RemotePartitioningMasterStepBuilder(java.lang.String stepName) 使用すべきではありません。 新しい RemotePartitioningMasterStepBuilder を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
RemotePartitioningMasterStepBuilder | aggregator(StepExecutionAggregator aggregator) 使用すべきではありません。 区分化されたステップ実行を PartitionStep 自体の単一の結果に集約するためのステップ実行アグリゲーターを提供します。 |
RemotePartitioningMasterStepBuilder | allowStartIfComplete(boolean allowStartIfComplete) 使用すべきではありません。 |
RemotePartitioningMasterStepBuilder | beanFactory(org.springframework.beans.factory.BeanFactory beanFactory) 使用すべきではありません。 Bean ファクトリを設定します。 |
Step | build() 使用すべきではありません。 |
RemotePartitioningMasterStepBuilder | gridSize(int gridSize) 使用すべきではありません。 必要なステップ実行の数に関する PartitionStepBuilder.splitter(StepExecutionSplitter) へのヒント。 |
RemotePartitioningMasterStepBuilder | inputChannel(org.springframework.messaging.MessageChannel inputChannel) 使用すべきではありません。 ワーカーからの応答を受信する入力チャネルを設定します。 |
RemotePartitioningMasterStepBuilder | jobExplorer(JobExplorer jobExplorer) 使用すべきではありません。 Job Explorer を設定します。 |
RemotePartitioningMasterStepBuilder | listener(java.lang.Object listener) 使用すべきではありません。 アノテーションベースのリスナー構成を使用してオブジェクトを登録します。 |
RemotePartitioningMasterStepBuilder | listener(StepExecutionListener listener) 使用すべきではありません。 |
RemotePartitioningMasterStepBuilder | messagingTemplate(org.springframework.integration.core.MessagingTemplate messagingTemplate) 使用すべきではありません。 ワーカーにデータを送信するために使用する MessagingTemplate を設定します。 |
RemotePartitioningMasterStepBuilder | outputChannel(org.springframework.messaging.MessageChannel outputChannel) 使用すべきではありません。 ワーカーへのリクエストが送信される出力チャネルを設定します。 |
RemotePartitioningMasterStepBuilder | partitioner(java.lang.String slaveStepName, Partitioner partitioner) 使用すべきではありません。 StepExecutionSplitter の作成に使用できるパーティショナーを追加します。 |
RemotePartitioningMasterStepBuilder | partitionHandler(PartitionHandler partitionHandler) 使用すべきではありません。 マスターステップのパーティションハンドラーが MessageChannelPartitionHandler のインスタンスに自動的に設定されるため、このメソッドは UnsupportedOperationException をスローします。 |
RemotePartitioningMasterStepBuilder | pollInterval(long pollInterval) 使用すべきではありません。 ワーカーのステータスについてジョブリポジトリをポーリングする頻度。 |
RemotePartitioningMasterStepBuilder | repository(JobRepository jobRepository) 使用すべきではありません。 |
RemotePartitioningMasterStepBuilder | splitter(StepExecutionSplitter splitter) 使用すべきではありません。 PartitionStepBuilder.partitioner(String, Partitioner) から 1 つのビルドを作成する代わりに、明示的な StepExecutionSplitter を提供します。 |
RemotePartitioningMasterStepBuilder | startLimit(int startLimit) 使用すべきではありません。 |
RemotePartitioningMasterStepBuilder | step(Step step) 使用すべきではありません。 並列実行する実際のステップインスタンスを提供します。 |
RemotePartitioningMasterStepBuilder | timeout(long timeout) 使用すべきではありません。 ジョブリポジトリのポーリングを使用する場合、待機する時間制限。 |
RemotePartitioningMasterStepBuilder | transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) 使用すべきではありません。 |
getAggregator, getGridSize, getPartitioner, getPartitionHandler, getSplitter, getStep, getStepName, getTaskExecutor, taskExecutor
enhance, getJobRepository, getName, getTransactionManager, isAllowStartIfComplete
public RemotePartitioningMasterStepBuilder(java.lang.String stepName)
RemotePartitioningMasterStepBuilder
を作成します。stepName
- マスターステップの名前 public RemotePartitioningMasterStepBuilder inputChannel(org.springframework.messaging.MessageChannel inputChannel)
inputChannel
- 入力チャンネル public RemotePartitioningMasterStepBuilder outputChannel(org.springframework.messaging.MessageChannel outputChannel)
この setter または messagingTemplate(MessagingTemplate)
のいずれかを使用して、完全に構成されたメッセージングテンプレートを提供します。
outputChannel
- 出力チャンネル。messagingTemplate(MessagingTemplate)
public RemotePartitioningMasterStepBuilder messagingTemplate(org.springframework.integration.core.MessagingTemplate messagingTemplate)
MessagingTemplate
を設定します。メッセージングテンプレートのデフォルトチャネルを設定する必要があります この setter を使用して、完全に構成されたメッセージングテンプレートを提供するか、outputChannel(MessageChannel)
を介して出力チャネルを提供すると、デフォルトのメッセージングテンプレートが作成されます。
messagingTemplate
- 使用するメッセージングテンプレート outputChannel(MessageChannel)
public RemotePartitioningMasterStepBuilder jobExplorer(JobExplorer jobExplorer)
jobExplorer
- 使用する Job Explorer。public RemotePartitioningMasterStepBuilder pollInterval(long pollInterval)
pollInterval
- ポーリング間隔値(ミリ秒)public RemotePartitioningMasterStepBuilder timeout(long timeout)
timeout
- ミリ秒単位のタイムアウト値 public RemotePartitioningMasterStepBuilder beanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
beanFactory
- 使用する Bean ファクトリ public Step build()
PartitionStepBuilder
の build
public RemotePartitioningMasterStepBuilder repository(JobRepository jobRepository)
StepBuilderHelper<PartitionStepBuilder>
の repository
public RemotePartitioningMasterStepBuilder transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
StepBuilderHelper<PartitionStepBuilder>
の transactionManager
public RemotePartitioningMasterStepBuilder partitioner(java.lang.String slaveStepName, Partitioner partitioner)
PartitionStepBuilder
StepExecutionSplitter
の作成に使用できるパーティショナーを追加します。これまたは明示的な PartitionStepBuilder.splitter(StepExecutionSplitter)
のいずれかを使用しますが、両方は使用しません。PartitionStepBuilder
の partitioner
slaveStepName
- ワーカーステップの名前 (ステップ実行名の作成に使用)partitioner
- 使用するパーティショナー public RemotePartitioningMasterStepBuilder gridSize(int gridSize)
PartitionStepBuilder
PartitionStepBuilder.splitter(StepExecutionSplitter)
へのヒント。PartitionStepBuilder.taskExecutor(TaskExecutor)
を介してローカルまたはリモートで実行する場合、パーティションのステップ実行の最初の試行でのステップ実行の数を正確に決定します。PartitionStepBuilder
の gridSize
gridSize
- グリッドサイズ public RemotePartitioningMasterStepBuilder step(Step step)
PartitionStepBuilder
PartitionStepBuilder.partitionHandler(PartitionHandler)
が提供される場合、ステップはオプションであり、構成データ(ステップの名前およびその他の基本プロパティ)を抽出するためにのみ使用されます。PartitionStepBuilder
の step
step
- 並行して実行するステップ public RemotePartitioningMasterStepBuilder splitter(StepExecutionSplitter splitter)
PartitionStepBuilder
PartitionStepBuilder.partitioner(String, Partitioner)
から 1 つのビルドを作成する代わりに、明示的な StepExecutionSplitter
を提供します。分割をさらに制御する必要がある場合に便利です。PartitionStepBuilder
の splitter
splitter
- ステップ実行スプリッター public RemotePartitioningMasterStepBuilder aggregator(StepExecutionAggregator aggregator)
PartitionStepBuilder
PartitionStep
自体の単一の結果に集約するためのステップ実行アグリゲーターを提供します。デフォルトは、ほとんどの場合に機能する単純な実装です。PartitionStepBuilder
の aggregator
aggregator
- ステップ実行アグリゲーター public RemotePartitioningMasterStepBuilder startLimit(int startLimit)
StepBuilderHelper<PartitionStepBuilder>
の startLimit
public RemotePartitioningMasterStepBuilder listener(java.lang.Object listener)
StepBuilderHelper
StepBuilderHelper<PartitionStepBuilder>
の listener
listener
- リスナーアノテーションで設定されたメソッドを持つオブジェクト public RemotePartitioningMasterStepBuilder listener(StepExecutionListener listener)
StepBuilderHelper<PartitionStepBuilder>
の listener
public RemotePartitioningMasterStepBuilder allowStartIfComplete(boolean allowStartIfComplete)
StepBuilderHelper<PartitionStepBuilder>
の allowStartIfComplete
public RemotePartitioningMasterStepBuilder partitionHandler(PartitionHandler partitionHandler) throws java.lang.UnsupportedOperationException
MessageChannelPartitionHandler
のインスタンスに自動的に設定されるため、このメソッドは UnsupportedOperationException
をスローします。このビルダーを使用してリモートパーティショニングのマスターステップをビルドする場合、パーティションハンドラーを提供する必要はありません。PartitionStepBuilder
の partitionHandler
partitionHandler
- パーティションハンドラー java.lang.UnsupportedOperationException
- パーティションハンドラーが提供されている場合 for setting up a default handler that works with a local or remote Step