All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mindsnacks.zinc.classes.Repo Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version
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