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