Document new auto upload job

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-05-05 20:55:11 +02:00 committed by AndyScherzinger
parent 0bae6fcfb2
commit f0c771c2e7
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -44,6 +44,14 @@ import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
/*
This job is meant to run periodically every half an hour, and has the following burden on it's shoulders:
- looks through all relevant folders and stores files & folders into a database
- cleans files from DB that we haven't encountered in a while (TODO)
- store newly created files to be uploaded into uploads table (TODO)
- initiate uploads from the uploads table (TODO)
- restart uploads that have previously failed (TODO
*/
public class NewAutoUploadJob extends Job { public class NewAutoUploadJob extends Job {
public static final String TAG = "NewAutoUploadJob"; public static final String TAG = "NewAutoUploadJob";