|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.gridbus.broker.farming.common.Server
|
+--org.gridbus.broker.farming.common.ComputeServer
|
+--org.gridbus.broker.farming.globus.GlobusComputeServer
This class represents a compute server running Globus middleware
| Field Summary |
| Fields inherited from class org.gridbus.broker.farming.common.ComputeServer |
ALCHEMI, ALCHEMI_0_8, CONDOR, CONDOR_6_6_9, CONDOR_SHAREDFS, FORK_LOCAL, GLOBUS, GLOBUS_2_4, GLOBUS_3_2, GLOBUS_4_0, NORDUGRID, PBS, UNICORE, UNICORE_4_1, UNKNOWN, XGRID |
| Fields inherited from class org.gridbus.broker.farming.common.Server |
BUSY, READY |
| Constructor Summary | |
GlobusComputeServer()
Default Constructor |
|
GlobusComputeServer(java.lang.String contact)
Constructor for this class. |
|
| 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 |
getCPU()
Returns the processor in the compute server |
int |
getCPUFree15min()
Returns the processors which will be free in 15 minutes. |
int |
getCPUFree1min()
Returns the processors which will be free in 1 minute. |
int |
getCPUFree5min()
Returns the processors which will be free in 5 minutes. |
java.lang.String |
getCPUspeed()
Returns the processor speed. |
GlobusGassServer |
getGassServer()
|
int |
getGatekeeperPort()
Returns the remote gatekeeper port. |
float |
getMemfree()
Returns the free RAM available |
org.ietf.jgss.GSSCredential |
getProxy()
Returns the proxy for this server. |
void |
prepareJob(Job j)
|
void |
setContactString(java.lang.String contact)
Over-rides the ComputeServer.setContactString, since it needs to be parsed in this case to get the jobmanager string |
void |
setGatekeeperPort(int gkprPt)
Sets the remote gatekeeper port. |
void |
setProxy(org.ietf.jgss.GSSCredential credential)
Sets the proxy for this server. |
void |
updateStatus()
Updates the status of this server. |
| Methods inherited from class org.gridbus.broker.farming.common.Server |
getHostname, getServerID, getServerStatus, getStatus, setHostname, setServerStatus, setStatus, statusInt, statusString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GlobusComputeServer()
public GlobusComputeServer(java.lang.String contact)
contact - | Method Detail |
public void setContactString(java.lang.String contact)
setContactString in class ComputeServercontact - ComputeServer.setContactString(java.lang.String)public boolean checkPing()
public boolean discoverProperties()
discoverProperties in class ComputeServerpublic java.lang.String getCPU()
public float getMemfree()
public int getCPUFree15min()
public int getCPUFree1min()
public int getCPUFree5min()
public java.lang.String getCPUspeed()
public void updateStatus()
ComputeServer
updateStatus in class ComputeServer* Updates the status of the compute serverpublic void prepareJob(Job j)
prepareJob in class ComputeServerj - - job object* Submits the job to the job managerpublic int getGatekeeperPort()
public void setGatekeeperPort(int gkprPt)
gkprPt - - gatekeeper portpublic org.ietf.jgss.GSSCredential getProxy()
public void setProxy(org.ietf.jgss.GSSCredential credential)
credential - public GlobusGassServer getGassServer()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||