@PathPrefix(value="/backend/workQueue") public final class RestMasterPlugin extends Object implements MasterPlugin, io.vertigo.vega.webservice.WebServices
| Constructor and Description |
|---|
RestMasterPlugin(int timeoutSeconds,
io.vertigo.commons.codec.CodecManager codecManager)
Constructeur.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkDeadNodesAndWorkItems() |
WorkResult |
pollResult(int waitTimeSeconds) |
<R,W> void |
putWorkItem(WorkItem<R,W> workItem) |
@Inject
public RestMasterPlugin(int timeoutSeconds,
io.vertigo.commons.codec.CodecManager codecManager)
daemonManager - Manager des daemonstimeoutSeconds - Timeout des travaux en attente de traitementcodecManager - Manager d'encodage/decodagepublic void checkDeadNodesAndWorkItems()
public WorkResult pollResult(int waitTimeSeconds)
pollResult in interface MasterPluginpublic <R,W> void putWorkItem(WorkItem<R,W> workItem)
putWorkItem in interface MasterPluginCopyright © 2019. All Rights Reserved.