public class ParticipantTask extends RetryTask
ParticipantTask
is a general task which
interacts with a participant.TransactionParticipant
,
TaskManager
DAYS, HOURS, MINUTES, SECONDS
Constructor and Description |
---|
ParticipantTask(TaskManager manager,
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()
Make a single attempt.
|
public ParticipantTask(TaskManager manager, 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.Copyright © GigaSpaces.