org.objectweb.jonathan.resources.api
Interface Job
A Job is the abstraction of an activity in the system. Jobs are created and
managed by
schedulers
. The role of a job is to
execute
code.
Context | getContext() - Returns a context associated with the target Job.
|
void | run(Runnable message) - Tells the target job to execute the code manifested by the message
argument.
|
getContext
public Context getContext()
Returns a context associated with the target Job.
- a context associated with the target Job.
run
public void run(Runnable message)
Tells the target job to execute the code manifested by the message
argument.
message
- code to be executed.