org.gridbus.broker.farming.unicore
Class UnicoreComputeServer

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.unicore.UnicoreComputeServer

public class UnicoreComputeServer
extends ComputeServer

This class describes a UNICORE server and its properties and provides the methods to execute its functions and access its members.

Author:
Deepa Nayar (dnayar@students.cs.mu.oz.au), Chun Ling Kei (clkei@students.cs.mu.oz.au), Parvin Asadzadeh (parvina@students.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
UnicoreComputeServer(java.lang.String hostname, java.lang.Object o)
          Constructor for this class
 
Method Summary
 boolean discoverProperties()
          Discover the dynamic server properties
 com.fujitsu.arcon.servlet.Identity getIdentity()
          Returns the identity for this server
 java.lang.String getKeystore()
          Gets the keystore for this server
 com.fujitsu.arcon.servlet.Reference getReference()
          Gets the refernce for this server
 com.fujitsu.arcon.servlet.VsiteTh getVsiteTh()
          Sets the refernce for this server
 void setIdentity(com.fujitsu.arcon.servlet.Identity identity)
          Sets the identity for this server
 void setReference(com.fujitsu.arcon.servlet.Reference reference)
          Sets the reference for this server
 void setValues()
          Checks if the compute server is up, and sets all its attributes
 void setVsiteTh(com.fujitsu.arcon.servlet.VsiteTh vsite)
          Gets the Vsite for this server
 
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, 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

UnicoreComputeServer

public UnicoreComputeServer(java.lang.String hostname,
                            java.lang.Object o)
Constructor for this class

Parameters:
hostname -
o -
Method Detail

setValues

public void setValues()
               throws java.lang.Exception
Checks if the compute server is up, and sets all its attributes

Throws:
java.lang.Exception

setIdentity

public void setIdentity(com.fujitsu.arcon.servlet.Identity identity)
Sets the identity for this server

Parameters:
identity -

getIdentity

public com.fujitsu.arcon.servlet.Identity getIdentity()
Returns the identity for this server

Returns:
Identity object

setReference

public void setReference(com.fujitsu.arcon.servlet.Reference reference)
Sets the reference for this server

Parameters:
reference -

getReference

public com.fujitsu.arcon.servlet.Reference getReference()
Gets the refernce for this server

Returns:
Reference object

setVsiteTh

public void setVsiteTh(com.fujitsu.arcon.servlet.VsiteTh vsite)
Gets the Vsite for this server

Parameters:
vsite -

getVsiteTh

public com.fujitsu.arcon.servlet.VsiteTh getVsiteTh()
Sets the refernce for this server

Returns:
vsite

getKeystore

public java.lang.String getKeystore()
Gets the keystore for this server

Returns:
keystore string

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()