Interface InboundFileSynchronizer
- All Known Implementing Classes:
AbstractInboundFileSynchronizer
,FtpInboundFileSynchronizer
,SftpInboundFileSynchronizer
,SmbInboundFileSynchronizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy for synchronizing from a remote File system to a local directory.
- Since:
- 2.0
- Author:
- Mark Fisher, Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionvoid
synchronizeToLocalDirectory
(File localDirectory) Synchronize all available files to the local directory.default void
synchronizeToLocalDirectory
(File localDirectory, int maxFetchSize) Synchronize up to maxFetchSize files to the local directory.
-
Method Details
-
synchronizeToLocalDirectory
Synchronize all available files to the local directory.- Parameters:
localDirectory
- the directory.
-
synchronizeToLocalDirectory
Synchronize up to maxFetchSize files to the local directory.- Parameters:
localDirectory
- the directory.maxFetchSize
- the maximum files to fetch.
-