|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Reader
| Method Summary | |
|---|---|
boolean |
connect()
|
boolean |
disconnect()
|
GridbusFarmingEngine |
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. |
GridbusFarmingEngine |
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)
|
long |
readJobCount(java.lang.String brokerID,
int status,
java.lang.String serverID)
|
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 |
readJobs(java.lang.Object brokerID,
int pageNumber,
int pageSize,
int jobStatus)
Reads a page of jobs with the given status. |
java.util.Vector |
readNextNJobs(java.lang.Object brokerID,
int n)
Returns the first 'N' jobs from the persistent store, if available. |
java.util.Vector |
readNextNJobs(java.lang.Object brokerID,
int n,
int jobStatus)
Returns the first 'N' jobs with the given status 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 |
| Method Detail |
|---|
GridbusFarmingEngine readBrokerInstance(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
java.util.Collection readJobs(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
java.lang.Object readEvent(java.lang.Object eventID,
java.lang.Object brokerID)
throws java.lang.Exception
eventID - brokerID -
java.lang.Exception
Job readJob(java.lang.Object jobID,
java.lang.Object brokerID)
throws java.lang.Exception
jobID - brokerID -
java.lang.Exception
ComputeServer readServer(java.lang.Object serverID,
java.lang.Object brokerID)
throws java.lang.Exception
serverID - brokerID -
java.lang.Exception
java.util.Collection readServers(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
java.util.Collection readDataFiles(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
DataFile readDataFile(java.lang.Object datafileID,
java.lang.Object brokerID)
throws java.lang.Exception
datafileID - brokerID -
java.lang.Exception
java.util.Collection readDataHosts(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
DataHost readDataHost(java.lang.Object datahostID,
java.lang.Object brokerID)
throws java.lang.Exception
datahostID - brokerID -
java.lang.Exception
GridbusFarmingEngine read(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
long readJobCount(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
long readJobCount(java.lang.Object brokerID,
int jobStatus)
throws java.lang.Exception
brokerID - jobStatus -
java.lang.Exception
java.util.Collection readJobs(java.lang.Object brokerID,
int jobStatus)
throws java.lang.Exception
brokerID - jobStatus -
java.lang.Exception
java.util.Collection readServers(java.lang.Object brokerID,
int serverStatus)
throws java.lang.Exception
brokerID - serverStatus -
java.lang.Exception
long readServerCount(java.lang.Object brokerID)
throws java.lang.Exception
brokerID -
java.lang.Exception
long readServerCount(java.lang.Object brokerID,
int serverStatus)
throws java.lang.Exception
brokerID - serverStatus -
java.lang.Exception
java.util.Vector readNextNJobs(java.lang.Object brokerID,
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
java.util.Vector readNextNJobs(java.lang.Object brokerID,
int n,
int jobStatus)
throws java.lang.Exception
brokerID - n - jobStatus -
java.lang.Exception
java.util.Vector readJobs(java.lang.Object brokerID,
int pageNumber,
int pageSize,
int jobStatus)
throws java.lang.Exception
brokerID - pageNumber - pageSize - jobStatus -
java.lang.Exception
boolean connect()
throws java.lang.Exception
java.lang.Exception
boolean disconnect()
throws java.lang.Exception
java.lang.Exception
long readJobCount(java.lang.String brokerID,
int status,
java.lang.String serverID)
throws java.lang.Exception
brokerID - status - cs -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||