org.iges.grads.server
Class GradsAnalysisModule

java.lang.Object
  |
  +--org.iges.anagram.AbstractModule
        |
        +--org.iges.grads.server.GradsAnalysisModule
All Implemented Interfaces:
Module

public class GradsAnalysisModule
extends AbstractModule

Runs a GrADS analysis task and returns a handle to the results.


Nested Class Summary
protected  class GradsAnalysisModule.ParsedExpression
           
 
Field Summary
protected  long counter
           
protected  long defaultStorageLimit
           
protected  long defaultTimeLimit
           
protected  GradsTool tool
           
 
Fields inherited from class org.iges.anagram.AbstractModule
log, moduleName, parent, server
 
Constructor Summary
GradsAnalysisModule(GradsTool tool)
           
 
Method Summary
protected  java.lang.String buildDatasetNameList(java.util.List datasets)
           
protected  int chooseGradsBinary(java.util.List handles)
           
 void configure(Setting setting)
          Configures the module according to the settings provided.
 TempDataHandle doAnalysis(java.lang.String handleName, java.lang.String ae, Privilege privilege)
           
 java.lang.String getModuleID()
          Returns an ID for this module.
protected  void releaseSources(java.util.List handles)
           
 
Methods inherited from class org.iges.anagram.AbstractModule
configModule, debug, debug, error, fail, fail, fail, getModuleName, info, init, toString, verbose, verbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tool

protected GradsTool tool

counter

protected long counter

defaultStorageLimit

protected long defaultStorageLimit

defaultTimeLimit

protected long defaultTimeLimit
Constructor Detail

GradsAnalysisModule

public GradsAnalysisModule(GradsTool tool)
Method Detail

getModuleID

public java.lang.String getModuleID()
Description copied from interface: Module
Returns an ID for this module. This ID should be a legal XML tag name. It has two uses: as a tag name in the server's configuration file, and as the final element of the complete module name.

Specified by:
getModuleID in interface Module
Specified by:
getModuleID in class AbstractModule

configure

public void configure(Setting setting)
Description copied from class: AbstractModule
Configures the module according to the settings provided. The server supports dynamic reconfiguration. Thus this method may be called at any time in the life of the module. If the module cannot be reconfigured, it should throw an exception.

Specified by:
configure in interface Module
Specified by:
configure in class AbstractModule

doAnalysis

public TempDataHandle doAnalysis(java.lang.String handleName,
                                 java.lang.String ae,
                                 Privilege privilege)
                          throws ModuleException
ModuleException

chooseGradsBinary

protected int chooseGradsBinary(java.util.List handles)
                         throws AnagramException
AnagramException

buildDatasetNameList

protected java.lang.String buildDatasetNameList(java.util.List datasets)

releaseSources

protected void releaseSources(java.util.List handles)