org.gridbus.broker.farming.alchemi
Class AlchemiComputeServer

java.lang.Object
  extended byorg.gridbus.broker.farming.common.ComputeServer
      extended byorg.gridbus.broker.farming.alchemi.AlchemiComputeServer

public class AlchemiComputeServer
extends ComputeServer

This class represents an compute server running Alchemi middleware

Author:
Rajiv Ranjan (rranjan@cs.mu.oz.au)

Constructor Summary
AlchemiComputeServer()
          Default Constructor
 
Method Summary
 java.lang.String getOS()
          Gets the operating system of this server
 java.lang.String getserverstring()
          Returns the contact for this server
 void setserverstring(java.lang.String contactstring)
          Sets the server contact string
 void submitJob(Job j)
          Submits a job for execution on this server.
 void updateStatus()
          Updates the status of this server
 
Methods inherited from class org.gridbus.broker.farming.common.ComputeServer
calcJobLimit, decExecutingJobs, getAllocatedJobs, getAvgJobComputationTime, getAvgRateofCompletion, getBusytime, getExecutingJobs, getFailedJobs, getHostname, getJobLimit, getJobsCompletedCurrentPoll, getPrevtime, getPricePerCpuSec, getPricePerJob, getServerID, getStatus, getTimeperjob, getTotalFinishedJobs, incAllocatedJobs, incExecutingJobs, incFailedJobs, incJobsCompletedCurrentPoll, incTotalFinishedJobs, isAlive, setAliveFlag, setAllocatedJobs, setAvgJobComputationTime, setBusytime, setHostname, setJobLimit, setJobsCompletedCurrentPoll, setOS, setPrevtime, setPricePerCpuSec, setPricePerJob, setServerID, setStatus, setTimeperjob, setTotalFinishedJobs, updateAvgRateofCompletion, updateAvgRateofCompletion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlchemiComputeServer

public AlchemiComputeServer()
Default Constructor

Method Detail

setserverstring

public void setserverstring(java.lang.String contactstring)
Sets the server contact string

Parameters:
contactstring - - the contact for this server

getserverstring

public java.lang.String getserverstring()
Returns the contact for this server

Returns:
- the contact string for this server

updateStatus

public void updateStatus()
Updates the status of this server

Overrides:
updateStatus in class ComputeServer

submitJob

public void submitJob(Job j)
Submits a job for execution on this server.

Overrides:
submitJob in class ComputeServer
Parameters:
j - - the Job to be executed.

getOS

public java.lang.String getOS()
Gets the operating system of this server

Overrides:
getOS in class ComputeServer
Returns:
- the operating system