Class FilesystemSyncProcess

java.lang.Object
com.kingsrook.qqq.backend.module.filesystem.processes.implementations.filesystem.sync.FilesystemSyncProcess

public class FilesystemSyncProcess extends Object
Definition for Filesystem sync process. Job is to: - list all files in the source table. - list all files in the archive table. - if any files exist in the source, but not in the archive, then: - copy the file to both the archive and the processing table. The maxFilesToArchive field can be used to only sync up to that many files (an help an initial sync, if you want to do it in smaller batches) The idea being, that the source is read-only, and we want to move files out of processing after they've been processed - and the archive is what we can have in-between the two.