|
UNICORE Resource Broker Client 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.client.BrokerRequestManager
A thread manager for BrokerRequest
threads.
Constructor Summary | |
BrokerRequestManager(BrokerPlugin plugin,
OfferTableModel model,
TaskResourceDAG resourceDAG)
Simple constructor |
Method Summary | |
void |
addRequest(Vsite vsite,
com.pallas.unicore.extensions.Usite usite,
User user,
boolean qosRequest,
String jobAjoIdName)
Add another request to another vsite |
void |
observableUpdate(Object theObserved,
Object changeCode)
Take note of estimates coming from BrokerRequest threads, add to the list. |
void |
setTable(org.eurogrid.broker.client.OfferTableDialog table)
Set the handle to the table for updating the running count |
void |
terminate()
Stop now - force the threads to terminate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BrokerRequestManager(BrokerPlugin plugin, OfferTableModel model, TaskResourceDAG resourceDAG)
plugin
- The broker plugin containing the managermodel
- The TableModel where the offers are sentresourceDAG
- The resource DAG for the Job Group being brokeredMethod Detail |
public void addRequest(Vsite vsite, com.pallas.unicore.extensions.Usite usite, User user, boolean qosRequest, String jobAjoIdName)
vsite
- The Vsite to make the request tousite
- The Vsite's Usiteuser
- The user making the requestqosRequest
- True for QoSCheck, False for ResourceCheckjobAjoIdName
- public void observableUpdate(Object theObserved, Object changeCode)
observableUpdate
in interface com.pallas.unicore.threadpool.IObserver
theObserved
- The BrokerRequest
threadchangeCode
- Either the final AbstractJob_Outcome
if the thread is
done, or a CheckQoS_Outcome
or a CheckResources_Outcome
, or even an OutcomeWrapper
.public void setTable(org.eurogrid.broker.client.OfferTableDialog table)
table
- The table dialog objectpublic void terminate()
|
UNICORE Resource Broker Client Plugin 1.5α1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |