Class RetrievalManager

  • All Implemented Interfaces:
    Runnable

    public class RetrievalManager
    extends Object
    implements Runnable
    The RetreivalManager manages the retrieval of files from DuraCloud to the local file system.
    • Constructor Detail

      • RetrievalManager

        public RetrievalManager​(RetrievalSource source,
                                File contentDir,
                                File workDir,
                                boolean overwrite,
                                int threads,
                                OutputWriter outWriter,
                                boolean createSpaceDir,
                                boolean applyTimestamps)
    • Method Detail

      • run

        public void run()
        Begins the content retrieval process
        Specified by:
        run in interface Runnable
      • shutdown

        public void shutdown()
        Stops the retrieval, no further files will be retrieved after those which are in progress have completed.
      • isComplete

        public boolean isComplete()