Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.tiling.computefarm
Interface Job

All Known Implementing Classes:
  AbstractJob

public interface 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`. A `Job` is split into `Task` objects by the client.

Method Summary
`void` | `collectResults(net.jini.space.JavaSpace javaSpace)` 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`.
`void` | `generateTasks(net.jini.space.JavaSpace javaSpace)` When this method is invoked by the framework, the implementation of `Job` should create instances of `TaskEntry` and write them to the supplied `JavaSpace`.
`net.jini.id.Uuid` | `getId()`

Method Detail

### getId

    public net.jini.id.Uuid getId()

  Returns:
    the globally unique identifier for this `Job`.

### generateTasks

    public void generateTasks(net.jini.space.JavaSpace javaSpace)

  When this method is invoked by the framework, the implementation of `Job` should create instances of `TaskEntry` and write them to the supplied `JavaSpace`.

  Parameters:
    `javaSpace` -

### collectResults

    public void collectResults(net.jini.space.JavaSpace javaSpace)

  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`.

  Parameters:
    `javaSpace` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © -2004 . All Rights Reserved.