|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.farming.common.ComputeServer
org.gridbus.broker.farming.globus.GlobusComputeServer
This class represents a compute server running Globus middleware
| 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, and sets the alive flag |
java.lang.String |
getArch()
Returns the architecture of the compute server |
java.lang.String |
getContactString()
Returns the server contact string. |
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. |
int |
getGatekeeperPort()
Returns the remote gatekeeper port. |
RemoteJobManager |
getJobManager()
Returns the remote job manager. |
float |
getMemfree()
Returns the free RAM available |
float |
getMemtotal()
Returns total physical memory (RAM) available |
int |
getNumCPUs()
Returns the number of processors. |
org.ietf.jgss.GSSCredential |
getProxy()
Returns the proxy for this server. |
void |
setContactString(java.lang.String string)
Sets the server contact string. |
void |
setGatekeeperPort(int gkprPt)
Sets the remote gatekeeper port. |
void |
setJobManager(RemoteJobManager manager)
Sets the remote job manager. |
void |
setProxy(org.ietf.jgss.GSSCredential credential)
Sets the proxy for this server. |
void |
setValues()
Checks if the compute server is up, and sets all its attributes |
void |
submitJob(Job j)
Submits the job to the job manager |
void |
updateStatus()
Updates the status of the compute server |
| 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 boolean checkPing()
public void setValues()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getArch()
public java.lang.String getCPU()
public float getMemfree()
public float getMemtotal()
public int getCPUFree15min()
public int getCPUFree1min()
public int getCPUFree5min()
public int getNumCPUs()
public java.lang.String getCPUspeed()
public void updateStatus()
updateStatus in class ComputeServerpublic void submitJob(Job j)
submitJob in class ComputeServerj - - job objectpublic int getGatekeeperPort()
public void setGatekeeperPort(int gkprPt)
gkprPt - - gatekeeper portpublic java.lang.String getContactString()
public void setContactString(java.lang.String string)
string - public RemoteJobManager getJobManager()
public void setJobManager(RemoteJobManager manager)
manager - objectpublic org.ietf.jgss.GSSCredential getProxy()
public void setProxy(org.ietf.jgss.GSSCredential credential)
credential -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||