org.objectweb.proactive.scheduler
Class DeployedTask

java.lang.Object
  extended by org.objectweb.proactive.scheduler.DeployedTask

public class DeployedTask
extends java.lang.Object

Class that contains the description of the job and the reference to an agent that keeps track of the job evolution. This agent helps setting the main JVM system properties as well a simple method to make sure that this node stays alive.

Author:
cjarjouh

Constructor Summary
DeployedTask(GenericJob jobDescription, Agent agent)
           
 
Method Summary
 GenericJob getTaskDescription()
           
 BooleanWrapper isAlive()
          this method is a sort of pinging method.
 void setAgent(Agent agent)
           
 void setTaskDescription(GenericJob jobDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployedTask

public DeployedTask(GenericJob jobDescription,
                    Agent agent)
Method Detail

setTaskDescription

public void setTaskDescription(GenericJob jobDescription)

setAgent

public void setAgent(Agent agent)

getTaskDescription

public GenericJob getTaskDescription()

isAlive

public BooleanWrapper isAlive()
this method is a sort of pinging method. It gives the status of the main node (alive or dead)

Returns:
true if the main node is alive, false otherwise


Copyright 2001-2007 INRIA All Rights Reserved.