|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.LocalAccessPoint gov.bnl.star.offline.scheduler.GateKeeperAccessPoint
public class GateKeeperAccessPoint
A configuration object used to describe how to access a site from a gatekeeper.
Constructor Summary | |
---|---|
GateKeeperAccessPoint()
Creates a new instance of Gateway |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this gatekeeper Example: "stargrid03.bnl.gov" |
int |
getUtilization()
Returns the percent utilization of this gatekeeper relative to other gatekeepers. |
boolean |
isLocal()
Returns true if access point is local, if it is a grid access point in return false |
void |
setName(java.lang.String name)
Sets the name for a gatekeeper This function is used primarily for configuration in the config file. |
void |
setUtilization(int utilization)
Sets the percent utilization of a gateKeeper The defalt is 50 Example: if gateKeeper Z if utilization is set to 90% and gateKeeper Y's is utilization is set to 10% Then one out of 9 jobs will go to gateKeeper Y and the rest to gateKeeper Z. |
Methods inherited from class gov.bnl.star.offline.scheduler.LocalAccessPoint |
---|
addAccessMethod, getAccessMethods, getSite, setAccessMethods, setSite |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GateKeeperAccessPoint()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
public void setUtilization(int utilization)
public int getUtilization()
public boolean isLocal()
isLocal
in class LocalAccessPoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |