Interface InboundFileSynchronizer
- All Known Implementing Classes:
AbstractInboundFileSynchronizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface InboundFileSynchronizer
Strategy for synchronizing from a remote File system to a local directory.
- Since:
- 2.0
-
Method Summary
Modifier and Type Method Description void
synchronizeToLocalDirectory(java.io.File localDirectory)
Synchronize all available files to the local directory.default void
synchronizeToLocalDirectory(java.io.File localDirectory, int maxFetchSize)
Synchronize up to maxFetchSize files to the local directory.
-
Method Details
-
synchronizeToLocalDirectory
void synchronizeToLocalDirectory(java.io.File localDirectory)Synchronize all available files to the local directory.- Parameters:
localDirectory
- the directory.
-
synchronizeToLocalDirectory
default void synchronizeToLocalDirectory(java.io.File localDirectory, int maxFetchSize)Synchronize up to maxFetchSize files to the local directory.- Parameters:
localDirectory
- the directory.maxFetchSize
- the maximum files to fetch.
-