Interface MasterPlugin

  • All Superinterfaces:
    io.vertigo.core.node.component.CoreComponent, io.vertigo.core.node.component.Plugin
    All Known Implementing Classes:
    RedisMasterPlugin, RestMasterPlugin

    public interface MasterPlugin
    extends io.vertigo.core.node.component.Plugin
    Master-Worker pattern. The master dispatch the works. The workers execute all the works.
    Author:
    npiedeloup, pchretien
    • Method Detail

      • putWorkItem

        <R,​W> void putWorkItem​(WorkItem<R,​W> workItem)
      • pollResult

        WorkResult pollResult​(int waitTimeSeconds)