org.gridbus.broker.farming.common
Class ComputeServerManager

java.lang.Object
  extended by org.gridbus.broker.farming.common.ComputeServerManager
All Implemented Interfaces:
java.lang.Runnable, JobListener

public final class ComputeServerManager
extends java.lang.Object
implements java.lang.Runnable, JobListener

Author:
hag

Constructor Summary
ComputeServerManager(ComputeServer server)
           
ComputeServerManager(ComputeServer server, java.lang.String type)
           
 
Method Summary
 boolean isRunning()
          Returns true if the manager is running
 void resume()
           
 void run()
           
 void statusChanged(Job j)
          Status changed event for a Job
 void stop()
          This method will signal the manager thread to stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputeServerManager

public ComputeServerManager(ComputeServer server)
Parameters:
server -

ComputeServerManager

public ComputeServerManager(ComputeServer server,
                            java.lang.String type)
Parameters:
server -
type -
o - (configuration properties)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()

stop

public void stop()
This method will signal the manager thread to stop


resume

public void resume()

isRunning

public boolean isRunning()
Returns true if the manager is running

Returns:

statusChanged

public void statusChanged(Job j)
Description copied from interface: JobListener
Status changed event for a Job

Specified by:
statusChanged in interface JobListener
See Also:
JobListener.statusChanged(org.gridbus.broker.farming.common.Job)