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

com.danielflower.apprunner.router.mgmt.MapManager Maven / Gradle / Ivy

There is a newer version: 1.11.6
Show newest version
package com.danielflower.apprunner.router.mgmt;

import io.muserver.MuRequest;
import org.json.JSONObject;

import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

public interface MapManager {
    ConcurrentHashMap getCurrentMapping();

    Result loadAllApps(MuRequest clientRequest, List runners) throws InterruptedException;

    JSONObject loadRunner(MuRequest clientRequest, Runner runner) throws Exception;

    JSONObject loadRunnerSystemInfo(MuRequest clientRequest, Runner runner) throws Exception;

    void removeRunner(Runner runner);

    class Result {
        public final List appsJsonFromEachRunner = new ArrayList<>();
        public final List errors = new ArrayList<>();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy