Package org.duracloud.sync.mgmt
Class SyncWorker
java.lang.Object
org.duracloud.sync.mgmt.SyncWorker
- All Implemented Interfaces:
Runnable
Handles the syncing of a single changed file using the given endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionSyncWorker(ChangedFile file, File watchDir, SyncEndpoint endpoint) Creates a SyncWorker to handle syncing a file -
Method Summary
-
Constructor Details
-
SyncWorker
Creates a SyncWorker to handle syncing a file- Parameters:
file- the file to syncwatchDir- dir under watch where file exists or null if file does not reside in a watched directoryendpoint- the endpoint to which the file should be synced
-
-
Method Details