public class DistributedProcessingAgent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Serializable |
configurationFile |
protected String |
containerFolder |
protected static String |
defaultJobOutput |
protected static String |
defaultScriptFile |
protected boolean |
deletefiles |
protected List<String> |
endpoints |
protected boolean |
forceUpload |
protected String |
gscope |
protected QueueJobManager |
jobManager |
protected int |
leftSetNumberOfElements |
protected org.apache.log4j.Logger |
logger |
protected String |
mainclass |
int |
maxElementsAllowedPerJob |
protected String |
modelName |
protected String |
pathToLib |
protected int |
rightSetNumberOfElements |
protected String |
sessionID |
protected boolean |
stop |
protected int |
subdivisiondiv |
protected String |
userName |
| Constructor and Description |
|---|
DistributedProcessingAgent(Serializable configurationFile,
String gCubeScope,
String computationOwner,
String mainClass,
String pathToLibFolder,
String modelName,
String containerFolder,
int maxElementsPerJob,
boolean forceReUploadofLibs,
int leftSetNumberOfElements,
int rightSetNumberOfElements,
String sessionID)
A distributed processing agent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildScriptFile(String jobName,
String jobOutput,
String jarsPath,
String fullMainClass) |
void |
compute() |
org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE |
getInfrastructure() |
String |
getLoad() |
String |
getResourceLoad() |
String |
getResources() |
float |
getStatus() |
org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[] |
getSupportedAlgorithms() |
boolean |
hasResentMessages() |
void |
setEndPoints(List<String> endpoints) |
void |
setLogger(org.apache.log4j.Logger logger) |
void |
shutdown() |
protected QueueJobManager jobManager
protected boolean deletefiles
protected String mainclass
public int maxElementsAllowedPerJob
protected boolean forceUpload
protected boolean stop
protected String gscope
protected String userName
protected String pathToLib
protected String modelName
protected String containerFolder
protected Serializable configurationFile
protected int rightSetNumberOfElements
protected int leftSetNumberOfElements
protected int subdivisiondiv
protected String sessionID
protected static String defaultJobOutput
protected static String defaultScriptFile
protected org.apache.log4j.Logger logger
public DistributedProcessingAgent(Serializable configurationFile, String gCubeScope, String computationOwner, String mainClass, String pathToLibFolder, String modelName, String containerFolder, int maxElementsPerJob, boolean forceReUploadofLibs, int leftSetNumberOfElements, int rightSetNumberOfElements, String sessionID)
public void setLogger(org.apache.log4j.Logger logger)
public boolean hasResentMessages()
public void buildScriptFile(String jobName, String jobOutput, String jarsPath, String fullMainClass) throws Exception
Exceptionpublic String getResources()
public float getStatus()
public org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[] getSupportedAlgorithms()
public org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE getInfrastructure()
public void shutdown()
public String getLoad()
public String getResourceLoad()
Copyright © 2016. All Rights Reserved.