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.

@FunctionalInterface public interface InboundFileSynchronizer
Strategy for synchronizing from a remote File system to a local directory.
Since:
2.0
Author:
Mark Fisher, Gary Russell
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

      void synchronizeToLocalDirectory(File localDirectory)
      Synchronize all available files to the local directory.
      Parameters:
      localDirectory - the directory.
    • synchronizeToLocalDirectory

      default void synchronizeToLocalDirectory(File localDirectory, int maxFetchSize)
      Synchronize up to maxFetchSize files to the local directory.
      Parameters:
      localDirectory - the directory.
      maxFetchSize - the maximum files to fetch.