|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
boolean |
connect()
|
boolean |
disconnect()
|
State |
read(java.lang.Object brokerID)
Reads all the data related to the invocation of the broker with the given brokerID from storage and returns the FarmingEngine as a State object. |
State |
readBrokerInstance(java.lang.Object brokerID)
Same as the read method without an argument, but reads the instance with the given ID |
DataFile |
readDataFile(java.lang.Object datafileID,
java.lang.Object brokerID)
Reads the datafile with the specified ID, and brokerID and returns a DataFile object |
java.util.Collection |
readDataFiles(java.lang.Object brokerID)
Reads datafiles from the storage and returns a vector of datafile objects with the given brokerID |
DataHost |
readDataHost(java.lang.Object datahostID,
java.lang.Object brokerID)
Reads the datahost with specified ID and brokerID and returns a DataHost object |
java.util.Collection |
readDataHosts(java.lang.Object brokerID)
Reads the datahosts from storage and returns a hashtable containing those hosts, with the given brokerID |
java.lang.Object |
readEvent(java.lang.Object eventID,
java.lang.Object brokerID)
Reads an event and returns an object containing the event information |
Job |
readJob(java.lang.Object jobID,
java.lang.Object brokerID)
|
long |
readJobCount(java.lang.Object brokerID)
|
long |
readJobCount(java.lang.Object brokerID,
int jobStatus)
|
java.util.Collection |
readJobs(java.lang.Object brokerID)
Reads jobs from the persistent storage, and returns a vector (collection) of jobs with the given brokerID |
java.util.Collection |
readJobs(java.lang.Object brokerID,
int jobStatus)
Reads jobs from the persistent storage with the given status, and returns a vector (collection) of jobs with the given brokerID |
java.util.Vector |
readNextNJobs(java.lang.Object brokerID,
java.lang.String lastJobID,
int n)
Returns the next 'N' jobs in sequence from the persistent store, if available. |
java.util.Vector |
readNextNJobs(java.lang.Object brokerID,
java.lang.String lastJobID,
int n,
int jobStatus)
Returns the next 'N' jobs in sequence from the persistent store, if available. |
java.util.Vector |
readNextNServers(java.lang.String brokerID,
java.lang.String lastServer,
int n)
Returns the next 'N' servers in sequence from the persistent store, if available. |
java.util.Vector |
readNextNServers(java.lang.String brokerID,
java.lang.String lastServer,
int n,
int serverStatus)
Returns the next 'N' servers with the given status, in sequence from the persistent store, if available. |
ComputeServer |
readServer(java.lang.Object serverID,
java.lang.Object brokerID)
|
long |
readServerCount(java.lang.Object brokerID)
|
long |
readServerCount(java.lang.Object brokerID,
int serverStatus)
|
java.util.Collection |
readServers(java.lang.Object brokerID)
Reads servers from the persistent storage, and returns a vector (collection) of computeservers with the given brokerID |
java.util.Collection |
readServers(java.lang.Object brokerID,
int serverStatus)
Reads servers from the persistent storage, and returns a vector (collection) of computeservers with the given brokerID |
Task |
readTask(java.lang.Object taskID,
java.lang.Object brokerID)
Reads the task with the given taskID and returns a Task object |
java.util.Collection |
readTasks(java.lang.Object brokerID)
Reads the tasks associated with the given brokerID |
Variable |
readVariable(java.lang.Object varID,
java.lang.Object brokerID)
|
java.util.Collection |
readVariables(java.lang.Object brokerID)
Reads the variables associated with the given brokerID |
| Method Detail |
public State readBrokerInstance(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public java.util.Collection readTasks(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public Task readTask(java.lang.Object taskID,
java.lang.Object brokerID)
throws java.lang.Exception
taskID - brokerID -
java.lang.Exception
public java.util.Collection readVariables(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public java.util.Collection readJobs(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public java.lang.Object readEvent(java.lang.Object eventID,
java.lang.Object brokerID)
throws java.lang.Exception
eventID - brokerID -
java.lang.Exception
public Job readJob(java.lang.Object jobID,
java.lang.Object brokerID)
throws java.lang.Exception
jobID - brokerID -
java.lang.Exception
public ComputeServer readServer(java.lang.Object serverID,
java.lang.Object brokerID)
throws java.lang.Exception
serverID - brokerID -
java.lang.Exception
public Variable readVariable(java.lang.Object varID,
java.lang.Object brokerID)
throws java.lang.Exception
varID - brokerID -
java.lang.Exception
public java.util.Collection readServers(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public java.util.Collection readDataFiles(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public DataFile readDataFile(java.lang.Object datafileID,
java.lang.Object brokerID)
throws java.lang.Exception
datafileID - brokerID -
java.lang.Exception
public java.util.Collection readDataHosts(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public DataHost readDataHost(java.lang.Object datahostID,
java.lang.Object brokerID)
throws java.lang.Exception
datahostID - brokerID -
java.lang.Exception
public State read(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public long readJobCount(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public long readJobCount(java.lang.Object brokerID,
int jobStatus)
throws java.lang.Exception
brokerID - jobStatus -
java.lang.Exception
public java.util.Collection readJobs(java.lang.Object brokerID,
int jobStatus)
throws java.lang.Exception
brokerID - jobStatus -
java.lang.Exception
public java.util.Collection readServers(java.lang.Object brokerID,
int serverStatus)
throws java.lang.Exception
brokerID - serverStatus -
java.lang.Exception
public long readServerCount(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
public long readServerCount(java.lang.Object brokerID,
int serverStatus)
throws java.lang.Exception
brokerID - serverStatus -
java.lang.Exception
public java.util.Vector readNextNJobs(java.lang.Object brokerID,
java.lang.String lastJobID,
int n)
throws java.lang.Exception
brokerID - lastJobID - (the ID of the job that was most recently retrieved). If this is null, then it starts from the first jobn -
java.lang.Exception
public java.util.Vector readNextNJobs(java.lang.Object brokerID,
java.lang.String lastJobID,
int n,
int jobStatus)
throws java.lang.Exception
brokerID - lastJobID - (the ID of the job that was most recently retrieved). If this is null, then it starts from the first jobn - jobStatus -
java.lang.Exception
public java.util.Vector readNextNServers(java.lang.String brokerID,
java.lang.String lastServer,
int n)
throws java.lang.Exception
brokerID - lastServer - n -
java.lang.Exception
public java.util.Vector readNextNServers(java.lang.String brokerID,
java.lang.String lastServer,
int n,
int serverStatus)
throws java.lang.Exception
brokerID - lastServer - n - serverStatus -
java.lang.Exception
public boolean connect()
throws java.lang.Exception
java.lang.Exception
public boolean disconnect()
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||