31 lines
820 B
Java
31 lines
820 B
Java
package org.gcube.dataanalysis.ecoengine.interfaces;
|
|
|
|
import java.util.List;
|
|
|
|
import org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration;
|
|
import org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE;
|
|
import org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType;
|
|
|
|
public interface ComputationalAgent extends AlgorithmDescriptor {
|
|
|
|
public String getResourceLoad();
|
|
|
|
public String getResources();
|
|
|
|
public float getStatus();
|
|
|
|
//gets the weight of the generator: according to this the generator will be placed in the execution order
|
|
public INFRASTRUCTURE getInfrastructure();
|
|
|
|
public void init() throws Exception;
|
|
|
|
public void setConfiguration(AlgorithmConfiguration config);
|
|
|
|
public void shutdown();
|
|
|
|
|
|
public void compute() throws Exception;
|
|
|
|
|
|
}
|