|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.farming.common.FarmingEngine
This is a simple Farming Engine class. A Farming Engine is just a place holder for the jobs and (computational)servers. It should be possible to add jobs, add servers and add whole collections of jobs and servers.
| Constructor Summary | |
FarmingEngine()
Constructor - intializes the job and server collections. |
|
| Method Summary | |
void |
addJob(Job j)
Add a job to the Collection |
void |
addServer(ComputeServer s)
Add a computational server to the Collection |
java.util.Collection |
getJobs()
|
java.util.Collection |
getServers()
|
void |
setJobs(java.util.Collection jobs)
|
void |
setServers(java.util.Collection servers)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FarmingEngine()
| Method Detail |
public java.util.Collection getJobs()
public java.util.Collection getServers()
public void setJobs(java.util.Collection jobs)
jobs - - Collection object of jobspublic void setServers(java.util.Collection servers)
servers - - Collection object of serverspublic void addJob(Job j)
j - - the job to be addedpublic void addServer(ComputeServer s)
s - - the server to be added.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||