Package | Description |
---|---|
com.sun.jini.mahalo |
Provides implementations of the
TransactionManager service.
|
Modifier and Type | Class and Description |
---|---|
class |
JobNotStartedException |
class |
PartialResultException |
class |
ResultNotReadyException |
class |
UnknownTaskException |
Modifier and Type | Method and Description |
---|---|
(package private) int |
Job.attempt(TaskManager.Task who)
Given a
TaskManager.Task , this method
returns the current number of attempts it has made. |
(package private) Object |
PrepareJob.computeResult()
Gathers partial results submitted by tasks and produces
a single outcome.
|
(package private) Object |
PrepareAndCommitJob.computeResult()
Gathers partial results submitted by tasks and produces
a single outcome.
|
(package private) abstract Object |
Job.computeResult()
Generate the solution to the original problem.
|
(package private) Object |
CommitJob.computeResult()
Gathers partial results submitted by tasks and produces
a single outcome.
|
(package private) Object |
AbortJob.computeResult()
Gathers partial results submitted by tasks and produces
a single outcome.
|
(package private) abstract Object |
Job.doWork(TaskManager.Task who,
Object param)
The work performed is implemented here.
|
boolean |
Job.isCompleted(long waitFor)
Check to see if the
Job execution has
completed. |
(package private) boolean |
Job.performWork(TaskManager.Task who,
Object param)
Used by a task to do a piece of work and record the
number of attempts.
|
private void |
Job.reportDone(TaskManager.Task who,
Object param) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.