org.gridbus.broker.farming.alchemi
Class AlchemiComputeServer

java.lang.Object
  extended by org.gridbus.broker.farming.common.Server
      extended by org.gridbus.broker.farming.common.ComputeServer
          extended by org.gridbus.broker.farming.alchemi.AlchemiComputeServer

public class AlchemiComputeServer
extends ComputeServer

This class represents an compute server running Alchemi middleware, or more specifically, an Alchemi Manager Webservice.

Author:
Krishna Nadiminti (kna@cs.mu.oz.au)

Field Summary
 
Fields inherited from class org.gridbus.broker.farming.common.ComputeServer
ALCHEMI, ALCHEMI_0_8, BUSY, CHECKING_REQUIREMENTS, CONDOR, CONDOR_6_6_9, CONDOR_SHAREDFS, FORK, GLOBUS, GLOBUS_2_4, GLOBUS_3_2, GLOBUS_4_0, NORDUGRID, PBS, READY, SGE, STATUS_ANY, UNICORE, UNICORE_4_1, UNKNOWN, XGRID
 
Constructor Summary
AlchemiComputeServer(java.lang.String hostname)
          Creates an instance of the AlchemiComputeServer, which is a webservice running at the specified hostname.
AlchemiComputeServer(java.lang.String hostname, java.lang.Object o)
           
 
Method Summary
 boolean discoverProperties()
          Discover the dynamic server properties
 void setContactString(java.lang.String contact)
          Sets the server contact string.
 
Methods inherited from class org.gridbus.broker.farming.common.ComputeServer
addJobListener, addQueue, calcJobLimit, decAllocatedJobs, discoverPropertiesGeneric, getAllocatedJobs, getArch, getAvgJobComputationTime, getAvgRateofCompletion, getBufferedJobs, getBusytime, getConfig, getContactString, getCPU, getCPUspeed, getDispatcher, getExecutingJobs, getFailedJobs, getJobLimit, getJobManager, getJobsCompletedCurrentPoll, getMaxnumjobs, getMemfree, getMemtotal, getNodeRequirements, getNumCPUs, getOS, getPrevtime, getPricePerCpuSec, getPricePerJob, getQueues, getServerStatus, getStatus, getTimeperjob, getTotalFinishedJobs, getType, getUserCredential, incAllocatedJobs, incFailedJobs, incJobsCompletedCurrentPoll, incTotalFinishedJobs, isAlive, isFirewalled, isRequirementSatisfied, notifyListeners, recoverJob, removeAllJobListeners, removeJobListener, serverTypeString, setAliveFlag, setAllocatedJobs, setArch, setAvgJobComputationTime, setBufferedJobs, setBusytime, setConfig, setDispatcher, setExecutingJobs, setFailedJobs, setFirewalled, setJobLimit, setJobManager, setJobsCompletedCurrentPoll, setMaxnumjobs, setMemtotal, setNodeRequirements, setNumCPUs, setOS, setPrevtime, setPricePerCpuSec, setPricePerJob, setQueues, setTimeperjob, setTotalFinishedJobs, setType, setUserCredential, shutdown, startMonitoring, startup, statusInt, statusString, submitJob, updateAvgRateofCompletion, updateStatus
 
Methods inherited from class org.gridbus.broker.farming.common.Server
getHostname, getServerID, setHostname, setServerID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlchemiComputeServer

public AlchemiComputeServer(java.lang.String hostname)
Creates an instance of the AlchemiComputeServer, which is a webservice running at the specified hostname. The webservice URL is considered to be: http://hostname/Alchemi.CrossPlatformManager/CrossPlatformManager.asmx

Parameters:
hostname -

AlchemiComputeServer

public AlchemiComputeServer(java.lang.String hostname,
                            java.lang.Object o)
Parameters:
hostname -
o -
Method Detail

setContactString

public void setContactString(java.lang.String contact)
Description copied from class: ComputeServer
Sets the server contact string.

Overrides:
setContactString in class ComputeServer

discoverProperties

public boolean discoverProperties()
                           throws java.lang.Exception
Description copied from class: ComputeServer
Discover the dynamic server properties

Specified by:
discoverProperties in class ComputeServer
Returns:
true, if the properties were discovered successfully.
Throws:
java.lang.Exception
See Also:
ComputeServer.discoverProperties()