Package | Description |
---|---|
com.sun.jini.mahalo |
Provides implementations of the
TransactionManager service.
|
com.sun.jini.thread |
These are utility classes and interfaces for helping with tasks done in multiple threads.
|
Modifier and Type | Class and Description |
---|---|
class |
ParticipantTask
A
ParticipantTask is a general task which
interacts with a participant. |
class |
SettlerTask
A
SettlerTask is scheduled task, which
causes an unsettled transaction to settle. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
Job.numberOfRetriesDueToConnectionExceptionExceeded(TaskManager.Task who) |
protected void |
Job.reportDone(TaskManager.Task who,
Object param) |
Modifier and Type | Class and Description |
---|---|
class |
RetryTask |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<TaskManager.Task> |
TaskManager.tasks
Active and pending tasks
|
Modifier and Type | Method and Description |
---|---|
List<TaskManager.Task> |
TaskManager.getPending()
Return all pending tasks.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskManager.add(TaskManager.Task t)
Add a new task.
|
void |
TaskManager.addIfNew(TaskManager.Task t)
Add a new task if it is not equal to (using the equals method)
to any existing active or pending task.
|
boolean |
TaskManager.remove(TaskManager.Task t) |
boolean |
TaskManager.removeIfPending(TaskManager.Task t)
Remove a task if it is pending (not active).
|
Copyright © GigaSpaces.