public synchronized void start ( ) { if ( uploaderThread != null ) { throw new RuntimeException ( "StorageManager is already started" ) ; } fileUploader = new DoneFileUploader ( ) ; uploaderThread = new Thread ( fileUploader , "StorageManager uploader" ) ; uploaderThread . start ( ) ; }
Start background storage management and uploading tasks .