|
UNICORE Resource Broker NJS Plugin 1.5α1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.eurogrid.broker.server.AbstractBroker
|
+--org.eurogrid.broker.server.ws.BrokerNJSIfc
The part of the Broker webservice that plugs into an NJS.
ServerCore| Nested Class Summary | |
static class |
BrokerNJSIfc.Service
|
| Field Summary | |
static String |
DEFAULT_IDENTITY
|
static long |
DEFAULT_TIME_TO_LIVE
|
static String |
VERSION
|
| Fields inherited from class org.eurogrid.broker.server.AbstractBroker |
controlState, isInitialised, localVsiteName, logger |
| Constructor Summary | |
BrokerNJSIfc()
|
|
| Method Summary | |
protected void |
checkQoS(CheckQoS task,
IncarnatedUser incedUser,
User user,
byte[] extraInformation,
CheckQoS_Outcome outcome)
Perform a CheckQoS, producing an outcome. |
protected void |
checkResources(CheckResources task,
IncarnatedUser incedUser,
User user,
byte[] extraInformation,
CheckResources_Outcome outcome)
Perform a CheckResources, producing an outcome. |
String |
claim(Ticket ticket,
ResourceSet resources,
IncarnatedUser inced_user,
User user)
|
String |
getFormalName()
Get the formal name of the plugin. |
static BrokerNJSIfc |
getInstance()
|
String |
getName()
Get the name of the plugin. |
String |
getQoSData(int nodes,
int procs,
int memory,
int time,
User user)
|
Ticket |
getTicket(ResourceSet resourceSet,
int validity)
|
protected String |
initialise(Vsite vsite,
ResourceSet resources,
ResourceChecker.NJS njs,
Element init)
Initialise the core of the broker. |
protected void |
logBannerMessage()
Write the main banner message to the log. |
static Element |
readXMLfromFile(File f)
|
VsiteEstimateMap |
runDelegatedQoSCheck(TaskResourceDAG resourceDAG,
Vsite[] hosts,
User user,
byte[] context)
|
VsiteTaskIDStatusMap |
runDelegatedResCheck(TaskResourceDAG resourceDAG,
Vsite[] hosts,
User user,
byte[] context)
|
| Methods inherited from class org.eurogrid.broker.server.AbstractBroker |
apply, getLogger, getLogger, getQoSCheckResource, getResourceCheckResource, getState, incarnateCheckQoS, incarnateCheckResources, initialise, initialiseLogger, nextJobID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String DEFAULT_IDENTITY
public static final long DEFAULT_TIME_TO_LIVE
public static final String VERSION
| Constructor Detail |
public BrokerNJSIfc()
| Method Detail |
protected void checkQoS(CheckQoS task,
IncarnatedUser incedUser,
User user,
byte[] extraInformation,
CheckQoS_Outcome outcome)
throws ResourceCheckerException
AbstractBroker
checkQoS in class AbstractBrokertask - the request to check resources that requires incarnationincedUser - the incarnated user performing the checkuser - the user performing the checkoutcome - the incarnated user performing the check
ResourceCheckerException
protected void checkResources(CheckResources task,
IncarnatedUser incedUser,
User user,
byte[] extraInformation,
CheckResources_Outcome outcome)
throws ResourceCheckerException
AbstractBroker
checkResources in class AbstractBrokertask - the request to check resources that requires incarnationincedUser - the incarnated user performing the checkuser - the User performing the checkoutcome - the incarnated user performing the check
ResourceCheckerException
public String claim(Ticket ticket,
ResourceSet resources,
IncarnatedUser inced_user,
User user)
throws ResourceCheckerException
ResourceCheckerExceptionpublic String getFormalName()
NamedPlugin
public static BrokerNJSIfc getInstance()
public String getName()
NamedPlugin
public String getQoSData(int nodes,
int procs,
int memory,
int time,
User user)
public Ticket getTicket(ResourceSet resourceSet,
int validity)
throws ResourceCheckerException
ResourceCheckerException
protected String initialise(Vsite vsite,
ResourceSet resources,
ResourceChecker.NJS njs,
Element init)
throws ResourceCheckerException
AbstractBroker
initialise in class AbstractBrokervsite - The Vsite where we are.resources - The resources at this Vsite.njs - The hosting NJS.init - The root of the broker's XML/DOM configuration tree.
ResourceCheckerExceptionprotected void logBannerMessage()
AbstractBroker
logBannerMessage in class AbstractBroker
public static Element readXMLfromFile(File f)
throws ResourceCheckerException
ResourceCheckerException
public VsiteEstimateMap runDelegatedQoSCheck(TaskResourceDAG resourceDAG,
Vsite[] hosts,
User user,
byte[] context)
throws ResourceCheckerException
ResourceCheckerException
public VsiteTaskIDStatusMap runDelegatedResCheck(TaskResourceDAG resourceDAG,
Vsite[] hosts,
User user,
byte[] context)
throws ResourceCheckerException
ResourceCheckerException
|
UNICORE Resource Broker NJS Plugin 1.5α1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||