|
Lightweight Bartering Grid | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GridData | |
---|---|
lbg.examples.hash | |
lbg.examples.hello | |
lbg.peer.core.rms | |
lbg.peer.workflow | |
lbg.protocol.api | |
lbg.protocol.data | |
lbg.resource | |
lbg.resource.service | |
lbg.simulator | |
lbg.task |
Uses of GridData in lbg.examples.hash |
---|
Methods in lbg.examples.hash with parameters of type GridData | |
---|---|
void |
GridHasher.setInputData(GridData[] datas)
|
Uses of GridData in lbg.examples.hello |
---|
Methods in lbg.examples.hello with parameters of type GridData | |
---|---|
void |
HelloGrid.setInputData(GridData[] datas)
|
Uses of GridData in lbg.peer.core.rms |
---|
Methods in lbg.peer.core.rms that return GridData | |
---|---|
GridData[][] |
WorkingSet.getData()
Returns the GridData stored in the WorkingSet, so as to communicate them to the managed Resource. |
GridData[][] |
WorkingSet.getLocalData()
|
GridData[][] |
WorkingSet.getSupplyingData()
|
Uses of GridData in lbg.peer.workflow |
---|
Methods in lbg.peer.workflow with parameters of type GridData | |
---|---|
void |
JobDescriptor.add(java.lang.String[] ids,
GridData[][] datas)
Adds datas that will be required later. |
void |
JobDescriptor.add(TaskDescriptor taskdesc,
java.lang.String[] classnames,
byte[][] bytecodes,
java.lang.String[] ids,
GridData[][] datas)
Convenience method to add everything needed for a TaskDescriptor at once |
Uses of GridData in lbg.protocol.api |
---|
Methods in lbg.protocol.api with parameters of type GridData | |
---|---|
void |
GridApplication.setInputData(GridData[] datas)
Sets the Grid application's input data files. |
Uses of GridData in lbg.protocol.data |
---|
Subclasses of GridData in lbg.protocol.data | |
---|---|
class |
FTPGridData
Keep info to find a file that lies on an FTP |
class |
InlineGridData
Grid data class where the data is actually contained by the class itself. |
class |
SimulatedGridData
Dummy grid data class for use in the LBG Simulator. |
class |
TorrentGridData
Grid data class where the data is shared using BitTorrent. |
Fields in lbg.protocol.data declared as GridData | |
---|---|
GridData[] |
MetaGridData.grid_data
|
Methods in lbg.protocol.data that return GridData | |
---|---|
GridData[][] |
SimulatedGridDataFactory.createSimulatedGridDataArray(java.lang.String consumer_peer_id)
|
GridData |
GridDataManager.extract(GridData[] data)
Selects the preferred download option out of an array of possibilities. |
GridData[] |
GridDataManager.extract(GridData[][] datas)
Extracts an array of data downloading options. |
GridData[] |
GridDataManager.host(GridData data,
boolean isLocal)
Hosts given GridData with default sharing policy. |
GridData[] |
GridDataManager.host(GridData data,
boolean isLocal,
int prefs)
Hosts given GridData. |
Methods in lbg.protocol.data with parameters of type GridData | |
---|---|
boolean |
GridDataManager.checkWorkingSet(GridData[] workingSet)
Checks if the passed GridData's would fit in the Working Set. |
int |
GridData.compareTo(GridData other)
|
GridData |
GridDataManager.extract(GridData[] data)
Selects the preferred download option out of an array of possibilities. |
GridData[] |
GridDataManager.extract(GridData[][] datas)
Extracts an array of data downloading options. |
java.io.File |
GridDataManager.getFile(GridData data)
Store data in cache and get the associated File. Data saved this way is never considered as local. |
java.io.File |
GridDataManager.getFile(GridData[] data)
Convenience method to automate extraction of data when downloading |
GridData[] |
GridDataManager.host(GridData data,
boolean isLocal)
Hosts given GridData with default sharing policy. |
GridData[] |
GridDataManager.host(GridData data,
boolean isLocal,
int prefs)
Hosts given GridData. |
void |
GridDataManager.seed(GridData[][] datasOptions)
Ensures that all given data's are being seeded. |
boolean |
GridDataManager.setWorkingSet(GridData[] workingSet)
Sets the working set. |
boolean |
GridDataManager.setWorkingSet(GridData[][] workingSet)
Sets the working set. |
void |
GridDataManager.waitFor(GridData[] requirements)
Blockingly wait for all required data's to be present in cache. |
Constructors in lbg.protocol.data with parameters of type GridData | |
---|---|
MetaGridData(java.lang.String id,
long size,
GridData[] grid_data)
|
Uses of GridData in lbg.resource |
---|
Methods in lbg.resource with parameters of type GridData | |
---|---|
void |
Resource.completeTask(GridData data,
byte[] logs)
Completes the execution of a Task by: flagging the Task as complete (thus, creating a TaskOutput) updating the Resource state |
void |
LiveResource.completeTask(GridData data,
byte[] logs)
Make final operations to register the running task as completed |
boolean |
SimulatedResource.setWorkingSet(GridData[][] working_set)
|
abstract boolean |
Resource.setWorkingSet(GridData[][] working_set)
|
boolean |
LiveResource.setWorkingSet(GridData[][] working_set)
|
Uses of GridData in lbg.resource.service |
---|
Methods in lbg.resource.service with parameters of type GridData | |
---|---|
boolean |
SimulatedResourceService.runTask(Task t,
GridData[][] working_set)
|
boolean |
SimulatedResourceHandle.runTask(Task t,
GridData[][] working_set)
|
boolean |
LiveResourceService.runTask(Task t,
GridData[][] working_set)
|
boolean |
LiveResourceHandle.runTask(Task t,
GridData[][] working_set)
Sets a resource's working set then runs a task. |
boolean |
AbstractResourceHandle.runTask(Task t,
GridData[][] working_set)
|
boolean |
SimulatedResourceService.setWorkingSet(GridData[][] working_set)
|
boolean |
SimulatedResourceHandle.setWorkingSet(GridData[][] working_set)
Sets a resource's working set |
boolean |
LiveResourceService.setWorkingSet(GridData[][] working_set)
|
boolean |
LiveResourceHandle.setWorkingSet(GridData[][] working_set)
Sets a resource's working set This call is non-blocking (only verification of the validity of the WS is done before returning: data is not yet downloaded). |
boolean |
AbstractResourceHandle.setWorkingSet(GridData[][] working_set)
|
Uses of GridData in lbg.simulator |
---|
Methods in lbg.simulator with parameters of type GridData | |
---|---|
void |
SimTask.setInputData(GridData[] datas)
Sets the Grid application's input data files. |
Uses of GridData in lbg.task |
---|
Methods in lbg.task that return GridData | |
---|---|
GridData[] |
Task.getInputDataSet()
Returns readied data's. |
GridData |
TaskOutput.getOutputData()
Output data. |
GridData[][] |
Task.getRawInputDataSet()
|
GridData[] |
Task.readyInputDataSet(GridDataManager gdm)
Readies input data set for execution. |
Methods in lbg.task with parameters of type GridData | |
---|---|
void |
Task.flagAsCompleted(java.lang.String supplier_peer_id,
long start_time,
GridData data,
byte[] logs,
int power)
|
Constructors in lbg.task with parameters of type GridData | |
---|---|
Task(java.lang.String consumer_peer_id,
int job_id,
int bot_id,
int task_id,
byte[][] jars,
java.lang.String[] classnames,
java.lang.String main_class,
java.lang.Object[] parameters,
GridData[][] datas,
long nominal_runtime)
Constructs a new Task. |
|
TaskOutput(Task t,
java.lang.String supplier_peer_id,
long start_time,
GridData data,
byte[] logs,
int power)
Constructs a new TaskOutput. |
|
Lightweight Bartering Grid | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.