The SUMO toolbox  2018a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | List of all members
DistributedBackend Class Referenceabstract

This class is a baseclass for all distributed resource backends. More...

Inheritance diagram for DistributedBackend:
Inheritance graph
[legend]

Public Member Functions

 DistributedBackend ()
 
void configure (ContextConfig context, NodeConfig config) throws ConfigureException
 
void setResultProcessor (ResultProcessor rp)
 
String getLocalDirectory ()
 
String getRemoteDirectory ()
 
abstract void cleanup ()
 Release resources. More...
 
abstract void submitJob (Job job) throws Exception
 Submit a job for evaluation. More...
 
abstract DataSourceStatus getStatus ()
 Get status information related to this backend and the resources it manages. More...
 

Protected Member Functions

Job getJob (String id)
 
void addJob (String id, Job j)
 
void removeJob (String id)
 
ResultProcessor getResultProcessor ()
 
void setLocalDirectory (String localDirectory)
 
void setRemoteDirectory (String dir)
 

Detailed Description

This class is a baseclass for all distributed resource backends.

Such backends typically have their own DataSource.

Constructor & Destructor Documentation

DistributedBackend ( )
inline

Member Function Documentation

void addJob ( String  id,
Job  j 
)
inlineprotected
abstract void cleanup ( )
abstract

Release resources.

void configure ( ContextConfig  context,
NodeConfig  config 
) throws ConfigureException
inline
Job getJob ( String  id)
inlineprotected
String getLocalDirectory ( )
inline
String getRemoteDirectory ( )
inline
ResultProcessor getResultProcessor ( )
inlineprotected
abstract DataSourceStatus getStatus ( )
abstract

Get status information related to this backend and the resources it manages.

void removeJob ( String  id)
inlineprotected
void setLocalDirectory ( String  localDirectory)
inlineprotected
void setRemoteDirectory ( String  dir)
inlineprotected
void setResultProcessor ( ResultProcessor  rp)
inline
abstract void submitJob ( Job  job) throws Exception
abstract

Submit a job for evaluation.


The documentation for this class was generated from the following file: