org.gridbus.broker.farming.globus.gt4
Class GT4ComputeServer

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.globus.GlobusComputeServer
              extended by org.gridbus.broker.farming.globus.gt4.GT4ComputeServer

public class GT4ComputeServer
extends GlobusComputeServer

This class represents a compute server running Globus 4 middleware

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
GT4ComputeServer(java.lang.String hostname, java.lang.String jobManager, java.lang.Object o)
           
 
Method Summary
 boolean checkPing()
          Checks if the compute server is up
 boolean discoverProperties()
          Checks if the compute server is up, and sets all its attributes
 java.lang.String getGridFtpUrl()
           
 java.lang.String getServiceURL()
          If the job submission service URL was not set it defaults to the hostname.
 void setGridFtpUrl(java.lang.String gridFtpUrl)
           
 void setServiceURL(java.lang.String serviceURL)
           
 
Methods inherited from class org.gridbus.broker.farming.globus.GlobusComputeServer
getCPUFree15min, getCPUFree1min, getCPUFree5min, getGassServer, getGatekeeperPort, getJobManager, getProxy, setConfig, setGatekeeperPort, setProxy
 
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, setContactString, 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

GT4ComputeServer

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

checkPing

public boolean checkPing()
Checks if the compute server is up

Overrides:
checkPing in class GlobusComputeServer
Returns:
true if the server is alive

discoverProperties

public boolean discoverProperties()
Checks if the compute server is up, and sets all its attributes

Overrides:
discoverProperties in class GlobusComputeServer
Returns:
true if the properties have been discovered

getServiceURL

public java.lang.String getServiceURL()
If the job submission service URL was not set it defaults to the hostname.

Returns:
Returns the job submission serviceURL.

setServiceURL

public void setServiceURL(java.lang.String serviceURL)
Parameters:
serviceURL - The serviceURL to set.

getGridFtpUrl

public java.lang.String getGridFtpUrl()
Returns:

setGridFtpUrl

public void setGridFtpUrl(java.lang.String gridFtpUrl)
Parameters:
gridFtpUrl -