|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlbg.peer.workflow.BoTFactory
public class BoTFactory
Note: methods are not static because a BoTFactory may be instanciated multiple times within the same VM, e.g. inside the LBG Simulator.
Constructor Summary | |
---|---|
BoTFactory(boolean enable_ttg)
Creates a new BoTFactory. |
Method Summary | |
---|---|
BoT |
createBoT(java.lang.String consumer_peer_id,
int job_id,
JobDescriptor jd,
boolean is_supplying_task)
Creates a Bag of Tasks from given JobDescriptor. |
BoT |
createBoT(java.lang.String consumer_peer_id,
int job_id,
Task[] tasks,
boolean is_supplying_task)
Creates a Bag of Tasks from given Tasks array. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BoTFactory(boolean enable_ttg) throws GridException
enable_ttg
- true to enable TemporalTasksGrouping
GridException
- if a parameter is illegalMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public BoT createBoT(java.lang.String consumer_peer_id, int job_id, JobDescriptor jd, boolean is_supplying_task) throws GridException
GridException
public BoT createBoT(java.lang.String consumer_peer_id, int job_id, Task[] tasks, boolean is_supplying_task) throws GridException
GridException
|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.