org.duracloud.sync.mgmt
Class SyncWorker
java.lang.Object
org.duracloud.sync.mgmt.SyncWorker
- All Implemented Interfaces:
- Runnable
public class SyncWorker
- extends Object
- implements Runnable
Handles the syncing of a single changed file using the given endpoint.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncWorker
public SyncWorker(ChangedFile file,
File watchDir,
SyncEndpoint endpoint)
- Creates a SyncWorker to handle syncing a file
- Parameters:
file
- the file to syncendpoint
- the endpoint to which the file should be synced
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2009-2011 DuraSpace. All Rights Reserved.