org.gcube.dataanalysis.executor.job.management
Class RemoteJobManager

java.lang.Object
  extended by org.gcube.dataanalysis.executor.job.management.RemoteJobManager

public class RemoteJobManager
extends Object


Field Summary
protected  int activeNodes
           
 
Constructor Summary
RemoteJobManager(String scope, int numberOfNodes)
           
RemoteJobManager(String scope, int numberOfNodes, List<org.apache.axis.message.addressing.EndpointReferenceType> eprs)
           
 
Method Summary
 int getActiveNodes()
           
 int getNumberOfNodes()
           
 float getStatus()
           
 void init(String scope, int numberOfNodes)
           
 void setNumberOfNodes(int newNumberOfNodes)
           
 void stop()
           
 boolean uploadAndExecute(String serviceClass, String serviceName, String owner, String localDir, String remoteDir, String outputDir, String script, List<String> arguments, boolean deletefiles)
           
 boolean wasAborted()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activeNodes

protected int activeNodes
Constructor Detail

RemoteJobManager

public RemoteJobManager(String scope,
                        int numberOfNodes)
                 throws Exception
Throws:
Exception

RemoteJobManager

public RemoteJobManager(String scope,
                        int numberOfNodes,
                        List<org.apache.axis.message.addressing.EndpointReferenceType> eprs)
                 throws Exception
Throws:
Exception
Method Detail

getActiveNodes

public int getActiveNodes()

getStatus

public float getStatus()

getNumberOfNodes

public int getNumberOfNodes()

setNumberOfNodes

public void setNumberOfNodes(int newNumberOfNodes)

init

public void init(String scope,
                 int numberOfNodes)
          throws Exception
Throws:
Exception

uploadAndExecute

public boolean uploadAndExecute(String serviceClass,
                                String serviceName,
                                String owner,
                                String localDir,
                                String remoteDir,
                                String outputDir,
                                String script,
                                List<String> arguments,
                                boolean deletefiles)
                         throws Exception
Throws:
Exception

wasAborted

public boolean wasAborted()

stop

public void stop()


Copyright © 2013. All Rights Reserved.