org.objectweb.proactive.scheduler
Class JobNoDescriptor
java.lang.Object
org.objectweb.proactive.scheduler.JobNoDescriptor
- All Implemented Interfaces:
- java.io.Serializable, Active, Job, RunActive
public class JobNoDescriptor
- extends java.lang.Object
- implements java.io.Serializable, Job, RunActive
This is the class that supports the jobs that have no XML
descriptor API. They use directly the Scheduler API to
get nodes.
- Author:
- cjarjouh
- See Also:
- Serialized Form
Method Summary |
GenericJob |
getJobDescription()
|
java.lang.String |
getJobID()
|
java.util.Vector |
getNodes()
This method is used to detect the node reservation event and to
help fetch those reserved nodes. |
void |
runActivity(Body body)
The runActivity is reimplemented to stop the service and to destroy the
active object after the getNodes method is called. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobNoDescriptor
public JobNoDescriptor()
JobNoDescriptor
public JobNoDescriptor(RessourceManager ressourceManager,
java.lang.Integer ressourceNb,
java.lang.Integer estimatedTime)
getJobID
public java.lang.String getJobID()
- Specified by:
getJobID
in interface Job
- Returns:
- the jobID associated with this object
getNodes
public java.util.Vector getNodes()
- This method is used to detect the node reservation event and to
help fetch those reserved nodes.
- Returns:
- a vector of all the reserved nodes.
getJobDescription
public GenericJob getJobDescription()
runActivity
public void runActivity(Body body)
- The runActivity is reimplemented to stop the service and to destroy the
active object after the getNodes method is called.
- Specified by:
runActivity
in interface RunActive
- Parameters:
body
- the body of the active object being started
Copyright 2001-2007 INRIA All Rights Reserved.