public class ParticipantTask
extends com.sun.jini.thread.RetryTask
ParticipantTask is a general task which
interacts with a participant.TransactionParticipant,
TaskManager| Constructor and Description |
|---|
ParticipantTask(com.sun.jini.thread.TaskManager manager,
com.sun.jini.thread.WakeupManager wm,
Job myjob,
com.sun.jini.mahalo.ParticipantHandle handle)
Constructs a
ParticipantTask. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
runAfter(List list,
int max)
Inherit doc comment from supertype.
|
boolean |
tryOnce() |
public ParticipantTask(com.sun.jini.thread.TaskManager manager,
com.sun.jini.thread.WakeupManager wm,
Job myjob,
com.sun.jini.mahalo.ParticipantHandle handle)
ParticipantTask.manager - TaskManager providing the threads
of execution.myjob - Job to which this task belongs.handle - ParticipantHandle representing the
TransactionParticipant with which
this task interacts.public boolean runAfter(List list, int max)
RetryTaskpublic boolean tryOnce()
tryOnce in class com.sun.jini.thread.RetryTaskCopyright © GigaSpaces.