class DownloadDispatcher {

    public static void setMaxParallelRunningCount(int maxParallelRunningCount) {
        DownloadDispatcher dispatcher = OkDownload.with().downloadDispatcher();
        if (dispatcher.getClass() != DownloadDispatcher.class) {
            throw new IllegalStateException(
                    "The current dispatcher is " + dispatcher + " not DownloadDispatcher exactly!");
        }

        maxParallelRunningCount = Math.max(1, maxParallelRunningCount);
        dispatcher.maxParallelRunningCount = maxParallelRunningCount;
    }

    public  DownloadDispatcher();
      DownloadDispatcher(List<DownloadCall> readyAsyncCalls,
                       List<DownloadCall> runningAsyncCalls,
                       List<DownloadCall> runningSyncCalls,
                       List<DownloadCall> finishingCalls);

}