インターフェースの使用
org.springframework.integration.file.FileLocker
FileLocker を使用するパッケージ
パッケージ
説明
ファイルサポートの基本パッケージ。
Spring Integration Java DSL のファイルコンポーネントサポートを提供します。
ファイルロックをサポートするクラスを提供します。
org.springframework.integration.file 内の FileLocker 使用
型 FileLocker のパラメーターを持つ org.springframework.integration.file のメソッド修飾子と型メソッド説明final voidDefaultDirectoryScanner.setLocker(FileLocker locker) voidDirectoryScanner.setLocker(FileLocker locker) このスキャナーが使用するカスタムロッカーを設定します。voidFileReadingMessageSource.setLocker(FileLocker locker) 重複処理からファイルを保護するために使用するFileLockerを設定します。org.springframework.integration.file.dsl 内の FileLocker 使用
型 FileLocker のパラメーターを持つ org.springframework.integration.file.dsl のメソッド修飾子と型メソッド説明FileInboundChannelAdapterSpec.locker(FileLocker locker) 重複処理からファイルを保護するために使用するFileLockerを設定します。org.springframework.integration.file.locking 内の FileLocker 使用
FileLocker を実装している org.springframework.integration.file.locking のクラス修飾子と型クラス説明classファイルを受け入れる前にロックをチェックする FileLockers を実装するための便利な基本クラス。classjava.nio を使用するファイルロック戦略。