Class OrchestraFeatures

  • All Implemented Interfaces:
    io.vertigo.core.lang.Builder<io.vertigo.core.node.config.ModuleConfig>

    public final class OrchestraFeatures
    extends io.vertigo.core.node.config.Features<OrchestraFeatures>
    Defines extension orchestra.
    Author:
    pchretien
    • Constructor Detail

      • OrchestraFeatures

        public OrchestraFeatures()
        Constructeur de la feature.
    • Method Detail

      • withDataBase

        public OrchestraFeatures withDataBase​(io.vertigo.core.param.Param... params)
        Activate Orchestra with Database.
        Parameters:
        nodeName - the name of the node
        daemonPeriodSeconds - the period for scheduling and execution
        workersCount - the number of workers
        forecastDurationSeconds - the time to forecast planifications
        Returns:
        these features
      • withMemory

        public OrchestraFeatures withMemory​(io.vertigo.core.param.Param... params)
        Activate Orchestra with Memory.
        Parameters:
        workersCount - the number of workers
        Returns:
        these features
      • withWebApi

        public OrchestraFeatures withWebApi()
        Activate Orchestra's REST WebServices.
        Returns:
        these features
      • buildFeatures

        protected void buildFeatures()
        Specified by:
        buildFeatures in class io.vertigo.core.node.config.Features<OrchestraFeatures>