53 lines
1.8 KiB
Java
53 lines
1.8 KiB
Java
|
***REMOVED***package org.gcube.dataanalysis.dataminer.poolmanager.rest;
|
||
|
***REMOVED***
|
||
|
***REMOVED******REMOVED***
|
||
|
***REMOVED***import java.net.MalformedURLException;
|
||
|
***REMOVED******REMOVED***
|
||
|
***REMOVED***import java.net.UnknownHostException;
|
||
|
***REMOVED***
|
||
|
***REMOVED***import org.gcube.dataanalysis.dataminer.poolmanager.datamodel.Algorithm;
|
||
|
***REMOVED***
|
||
|
***REMOVED***public interface PoolManager {
|
||
|
***REMOVED***
|
||
|
***REMOVED*** String addAlgorithmToVRE(Algorithm algo, String vre) throws IOException, InterruptedException;
|
||
|
***REMOVED***
|
||
|
***REMOVED*** Algorithm extractAlgorithm(String url) throws IOException;
|
||
|
***REMOVED***
|
||
|
***REMOVED*** String getLogById(String logId) throws IOException;
|
||
|
***REMOVED***
|
||
|
***REMOVED*** void getLogId(Algorithm algo, String vre);
|
||
|
***REMOVED***
|
||
|
***REMOVED*** String getScriptFromURL(URL logId) throws IOException;
|
||
|
***REMOVED***
|
||
|
***REMOVED*** URL getURLfromWorkerLog(String logUrl) throws MalformedURLException, UnknownHostException;
|
||
|
***REMOVED***
|
||
|
***REMOVED******REMOVED***
|
||
|
|
||
|
|
||
|
|
||
|
package org.gcube.dataanalysis.dataminer.poolmanager.rest;
|
||
|
|
||
|
***REMOVED***
|
||
|
import java.net.MalformedURLException;
|
||
|
***REMOVED***
|
||
|
import java.net.UnknownHostException;
|
||
|
|
||
|
import org.gcube.dataanalysis.dataminer.poolmanager.datamodel.Algorithm;
|
||
|
|
||
|
public interface PoolManager {
|
||
|
|
||
|
String addAlgorithmToVRE(Algorithm algo, String vre) throws IOException, InterruptedException;
|
||
|
String addAlgorithmToHost(Algorithm algo, String host) throws IOException, InterruptedException;
|
||
|
|
||
|
Algorithm extractAlgorithm(String url) throws IOException;
|
||
|
|
||
|
String getLogById(String logId) throws IOException;
|
||
|
|
||
|
void getLogId(Algorithm algo, String vre);
|
||
|
|
||
|
String getScriptFromURL(URL logId) throws IOException;
|
||
|
|
||
|
URL getURLfromWorkerLog(String logUrl) throws MalformedURLException, UnknownHostException;
|
||
|
|
||
|
***REMOVED***
|