com.mindsnacks.zinc.classes.Repo Maven / Gradle / Ivy
package com.mindsnacks.zinc.classes;
import com.mindsnacks.zinc.classes.data.BundleID;
import com.mindsnacks.zinc.classes.data.SourceURL;
import com.mindsnacks.zinc.classes.data.ZincBundle;
import java.util.concurrent.Future;
/**
* @author NachoSoto
*/
public interface Repo {
void start();
void pause() throws InterruptedException;
void addSourceURL(SourceURL sourceURL);
void startTrackingBundle(BundleID bundleID, String distribution);
Future getBundle(BundleID bundleID);
void recalculatePriorities();
/**
* Must be called before calling start.
*/
void clearCachedCatalogs();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy