Class FilesystemSyncProcess
java.lang.Object
com.kingsrook.qqq.backend.module.filesystem.processes.implementations.filesystem.sync.FilesystemSyncProcess
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.
-
Field Details
-
PROCESS_NAME
- See Also:
-
FIELD_SOURCE_TABLE
- See Also:
-
FIELD_ARCHIVE_TABLE
- See Also:
-
FIELD_PROCESSING_TABLE
- See Also:
-
FIELD_MAX_FILES_TO_ARCHIVE
- See Also:
-
-
Constructor Details
-
FilesystemSyncProcess
public FilesystemSyncProcess()
-
-
Method Details
-
defineProcessMetaData
-