|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Coordinator interface provides the means for a client to begin or terminate a task. In addition, it allows participants of the task to register.
| Method Summary | |
void |
beginTask()
The beginTask() method is used by the client to define the beginning of a task. |
boolean |
commitTask()
The commitTask() method is executed by the client once all the participants have registered. |
void |
register(Coordination participant)
The register() method is used by the participants to register themselves with the coordinator once a task has begun. |
| Method Detail |
public void register(Coordination participant)
participant - the participant that needs to be registered and
whose task needs to be coordinatedpublic void beginTask()
public boolean commitTask()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||