Class DistributedProcessingAgentWPS


  • public class DistributedProcessingAgentWPS
    extends Object
    • Field Detail

      • deletefiles

        protected boolean deletefiles
      • mainclass

        protected String mainclass
      • maxElementsAllowedPerJob

        public int maxElementsAllowedPerJob
      • forceUpload

        protected boolean forceUpload
      • stop

        protected boolean stop
      • gscope

        protected String gscope
      • userName

        protected String userName
      • pathToLib

        protected String pathToLib
      • modelName

        protected String modelName
      • containerFolder

        protected String containerFolder
      • configuration

        protected org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration configuration
      • rightSetNumberOfElements

        protected int rightSetNumberOfElements
      • leftSetNumberOfElements

        protected int leftSetNumberOfElements
      • subdivisiondiv

        protected int subdivisiondiv
      • sessionID

        protected String sessionID
      • defaultJobOutput

        protected static String defaultJobOutput
      • defaultScriptFile

        protected static String defaultScriptFile
      • logger

        protected org.apache.log4j.Logger logger
    • Constructor Detail

      • DistributedProcessingAgentWPS

        public DistributedProcessingAgentWPS​(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration configuration,
                                             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. Performs a distributed computation doing the MAP of the product of two sets: A and B Splits over B : A x B1 , A x B2, ... , A x Bn Prepares a script to be executed on remote nodes The computation is then sent to remote processors.
    • Method Detail

      • setLogger

        public void setLogger​(org.apache.log4j.Logger logger)
      • hasResentMessages

        public boolean hasResentMessages()
      • getResources

        public String getResources()
      • getStatus

        public float getStatus()
      • getSupportedAlgorithms

        public org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[] getSupportedAlgorithms()
      • getInfrastructure

        public org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE getInfrastructure()
      • shutdown

        public void shutdown()
      • getLoad

        public String getLoad()
      • getResourceLoad

        public String getResourceLoad()