クラスの使用
org.springframework.integration.file.dsl.TailAdapterSpec
TailAdapterSpec を使用するパッケージ
パッケージ
説明
Spring Integration Java DSL のファイルコンポーネントサポートを提供します。
org.springframework.integration.file.dsl 内の TailAdapterSpec 使用
修飾子と型メソッド説明TailAdapterSpec.autoStartup(boolean autoStartup) TailAdapterSpec.delay(long delay) 新しいコンテンツのファイルをチェックする間隔(ミリ秒単位)。TailAdapterSpec.enableStatusReader(boolean enableStatusReader) このフィールドは、stderr イベントを制御します。TailAdapterSpec.end(boolean end) trueの場合、ファイルの末尾から末尾に移動します。それ以外の場合は、最初からすべての行を含めます。TailAdapterSpec.errorChannel(StringSE errorChannel) TailAdapterSpec.errorChannel(MessageChannel errorChannel) TailAdapterSpec.errorMessageStrategy(ErrorMessageStrategy errorMessageStrategy) protected TailAdapterSpecTailAdapterSpec.fileDelay(long fileDelay) 存在しないファイルをテールする試行間の、または何らかの理由で失敗した場合のプロセスの実行試行間のミリ秒単位の遅延。TailAdapterSpec.idleEventInterval(long idleEventInterval) アイドルイベントの送信を開始する前のアイドル間隔を指定します。TailAdapterSpec.nativeOptions(StringSE nativeOptions) ネイティブtailコマンドのオプション文字列を指定します。TailAdapterSpec.outputChannel(StringSE outputChannel) TailAdapterSpec.outputChannel(MessageChannel outputChannel) TailAdapterSpec.phase(int phase) TailAdapterSpec.reopen(boolean reopen) trueの場合は、チャンクの読み取りの間にファイルを閉じてから再度開きます。TailAdapterSpec.sendTimeout(long sendTimeout) TailAdapterSpec.shouldTrack(boolean shouldTrack) static TailAdapterSpecFiles.tailAdapter(FileSE file) FileTailingMessageProducerSupportのTailAdapterSpecビルダーを作成します。TailAdapterSpec.taskExecutor(TaskExecutor taskExecutor) タスクエグゼキュータを設定します。TailAdapterSpec.taskScheduler(TaskScheduler taskScheduler) タスクスケジューラを設定します - デフォルトでは統合 "taskScheduler" になります。