A C D E F G J M O R S T W

A

AbstractJob - class org.tiling.computefarm.AbstractJob.
An AbstractJob is a Job that provides some default implementation and a few convenience methods for implementors of Job.
AbstractJob() - Constructor for class org.tiling.computefarm.AbstractJob
 

C

ClassServer - class org.tiling.computefarm.util.ClassServer.
A ClassServer is a very simple HTTP server for serving class files or jars from the file system.
ClassServer() - Constructor for class org.tiling.computefarm.util.ClassServer
 
ClassServer(File, int) - Constructor for class org.tiling.computefarm.util.ClassServer
 
ClassServer(File, int, boolean) - Constructor for class org.tiling.computefarm.util.ClassServer
 
ClassServer.RequestThread - class org.tiling.computefarm.util.ClassServer.RequestThread.
 
ClassServer.RequestThread(Socket) - Constructor for class org.tiling.computefarm.util.ClassServer.RequestThread
 
collectResults(JavaSpace) - Method in class org.tiling.computefarm.AbstractJob
 
collectResults(JavaSpace) - Method in interface org.tiling.computefarm.Job
When this method is invoked by the framework, the implementation of Job should take instances of ResultEntry from the supplied JavaSpace which have the same job ID as this Job.

D

DEFAULT_ROOT - Static variable in class org.tiling.computefarm.util.ClassServer
 
DEFAULT_START_PORT_NUMBER - Static variable in class org.tiling.computefarm.util.ClassServer
 

E

execute(JavaSpace) - Method in interface org.tiling.computefarm.Task
Executes this task and produces a result.

F

findService(ServiceRegistrar, Class) - Static method in class org.tiling.computefarm.util.ServiceFinder
 

G

generateTasks(JavaSpace) - Method in class org.tiling.computefarm.AbstractJob
 
generateTasks(JavaSpace) - Method in interface org.tiling.computefarm.Job
When this method is invoked by the framework, the implementation of Job should create instances of TaskEntry and write them to the supplied JavaSpace.
getId() - Method in class org.tiling.computefarm.AbstractJob
 
getId() - Method in interface org.tiling.computefarm.Job
 

J

Job - interface org.tiling.computefarm.Job.
A Job is a piece of work generated by a client of the computefarm, which the client gets the computefarm to run using a JobRunner.
JobRunner - class org.tiling.computefarm.JobRunner.
A JobRunner runs a Job on behalf of a client.
JobRunner(Job) - Constructor for class org.tiling.computefarm.JobRunner
 
jobId - Variable in class org.tiling.computefarm.ResultEntry
The globally unique identifier for the associated Job.
jobId - Variable in class org.tiling.computefarm.TaskEntry
The globally unique identifier for the associated Job.

M

main(String[]) - Static method in class org.tiling.computefarm.Worker
 
main(String[]) - Static method in class org.tiling.computefarm.util.ClassServer
 

O

org.tiling.computefarm - package org.tiling.computefarm
Provides classes for running compute-intensive jobs.
org.tiling.computefarm.util - package org.tiling.computefarm.util
Provides utility classes used by the implementation of the computefarm framework.

R

ReloadClassesEntry - class org.tiling.computefarm.ReloadClassesEntry.
An entry used to send a signal to Workers that they should reload their classes.
ReloadClassesEntry() - Constructor for class org.tiling.computefarm.ReloadClassesEntry
 
ResultEntry - class org.tiling.computefarm.ResultEntry.
A ResultEntry is an entry holder for result objects corresponding to task results.
ResultEntry() - Constructor for class org.tiling.computefarm.ResultEntry
 
ResultEntry(Uuid) - Constructor for class org.tiling.computefarm.ResultEntry
 
ResultEntry(Uuid, Serializable) - Constructor for class org.tiling.computefarm.ResultEntry
 
result - Variable in class org.tiling.computefarm.ResultEntry
The result payload.
resultLeaseTime() - Method in class org.tiling.computefarm.TaskEntry
 
run() - Method in class org.tiling.computefarm.JobRunner
 
run() - Method in class org.tiling.computefarm.util.ClassServer.RequestThread
 
run() - Method in class org.tiling.computefarm.util.ClassServer
 

S

ServiceFinder - class org.tiling.computefarm.util.ServiceFinder.
A utility class for finding Jini service objects.
ServiceFinder() - Constructor for class org.tiling.computefarm.util.ServiceFinder
 
sendReloadClassesSignal(JavaSpace) - Method in class org.tiling.computefarm.AbstractJob
A convenience method for signalling all Workers that they should reload their classes.

T

Task - interface org.tiling.computefarm.Task.
A Task is a small, independently executable piece of a Job.
TaskEntry - class org.tiling.computefarm.TaskEntry.
A TaskEntry is an entry holder for task objects that are the constituent pieces of a Job.
TaskEntry() - Constructor for class org.tiling.computefarm.TaskEntry
 
TaskEntry(Uuid, Task) - Constructor for class org.tiling.computefarm.TaskEntry
 
takeResult(JavaSpace) - Method in class org.tiling.computefarm.AbstractJob
A convenience method taking results from the given JavaSpace.
task - Variable in class org.tiling.computefarm.TaskEntry
The task payload.

W

Worker - class org.tiling.computefarm.Worker.
A Worker repeatedly takes a TaskEntry instance from the space, executes its payload then writes the result back wrapped in a ResultEntry.
Worker() - Constructor for class org.tiling.computefarm.Worker
 
writeTask(JavaSpace, Task) - Method in class org.tiling.computefarm.AbstractJob
A convenience method for writing the given task to the given JavaSpace.

A C D E F G J M O R S T W

Copyright © -2004 . All Rights Reserved.