public final class MasterCoordinator extends Object implements Coordinator, io.vertigo.core.component.Activeable
| Constructor and Description |
|---|
MasterCoordinator(MasterPlugin masterPlugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
stop() |
<W,R> Future<R> |
submit(WorkItem<W,R> workItem,
WorkResultHandler<R> workResultHandler)
Exécution d'un travail de façon asynchrone.
|
public MasterCoordinator(MasterPlugin masterPlugin)
public void start()
start in interface io.vertigo.core.component.Activeablepublic void stop()
stop in interface io.vertigo.core.component.Activeablepublic <W,R> Future<R> submit(WorkItem<W,R> workItem, WorkResultHandler<R> workResultHandler)
submit in interface CoordinatorW - Type de Work (Travail)R - result typeworkItem - Travail à exécuterworkResultHandler - Result handlerCopyright © 2019. All Rights Reserved.