Class SmartServiceTaskConfig

    • Field Detail

      • enabled

        protected boolean enabled
      • priority

        protected int priority
      • directTemplatesAndInclusionsSetup

        protected boolean directTemplatesAndInclusionsSetup
      • preparedServices

        protected int preparedServices
      • dynamicMemoryAllocation

        protected boolean dynamicMemoryAllocation
      • dynamicMemoryAllocationRange

        protected int dynamicMemoryAllocationRange
      • percentOfPlayersToCheckShouldAutoStopTheServiceInFuture

        protected int percentOfPlayersToCheckShouldAutoStopTheServiceInFuture
      • autoStopTimeByUnusedServiceInSeconds

        protected int autoStopTimeByUnusedServiceInSeconds
      • percentOfPlayersForANewServiceByInstance

        protected int percentOfPlayersForANewServiceByInstance
      • forAnewInstanceDelayTimeInSeconds

        protected int forAnewInstanceDelayTimeInSeconds
      • minNonFullServices

        protected int minNonFullServices
      • maxServiceCount

        protected int maxServiceCount
    • Constructor Detail

      • SmartServiceTaskConfig

        public SmartServiceTaskConfig​(int priority,
                                      boolean directTemplatesAndInclusionsSetup,
                                      int preparedServices,
                                      boolean dynamicMemoryAllocation,
                                      int dynamicMemoryAllocationRange,
                                      int percentOfPlayersToCheckShouldAutoStopTheServiceInFuture,
                                      int autoStopTimeByUnusedServiceInSeconds,
                                      int percentOfPlayersForANewServiceByInstance,
                                      int forAnewInstanceDelayTimeInSeconds,
                                      int minNonFullServices,
                                      TemplateInstaller templateInstaller,
                                      int maxServiceCount)
      • SmartServiceTaskConfig

        public SmartServiceTaskConfig()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • getPriority

        public int getPriority()
      • setPriority

        public void setPriority​(int priority)
      • isDirectTemplatesAndInclusionsSetup

        public boolean isDirectTemplatesAndInclusionsSetup()
      • setDirectTemplatesAndInclusionsSetup

        public void setDirectTemplatesAndInclusionsSetup​(boolean directTemplatesAndInclusionsSetup)
      • getPreparedServices

        public int getPreparedServices()
      • setPreparedServices

        public void setPreparedServices​(int preparedServices)
      • isDynamicMemoryAllocation

        public boolean isDynamicMemoryAllocation()
      • setDynamicMemoryAllocation

        public void setDynamicMemoryAllocation​(boolean dynamicMemoryAllocation)
      • getDynamicMemoryAllocationRange

        public int getDynamicMemoryAllocationRange()
      • setDynamicMemoryAllocationRange

        public void setDynamicMemoryAllocationRange​(int dynamicMemoryAllocationRange)
      • getPercentOfPlayersToCheckShouldAutoStopTheServiceInFuture

        public int getPercentOfPlayersToCheckShouldAutoStopTheServiceInFuture()
      • setPercentOfPlayersToCheckShouldAutoStopTheServiceInFuture

        public void setPercentOfPlayersToCheckShouldAutoStopTheServiceInFuture​(int percentOfPlayersToCheckShouldAutoStopTheServiceInFuture)
      • getAutoStopTimeByUnusedServiceInSeconds

        public int getAutoStopTimeByUnusedServiceInSeconds()
      • setAutoStopTimeByUnusedServiceInSeconds

        public void setAutoStopTimeByUnusedServiceInSeconds​(int autoStopTimeByUnusedServiceInSeconds)
      • getPercentOfPlayersForANewServiceByInstance

        public int getPercentOfPlayersForANewServiceByInstance()
      • setPercentOfPlayersForANewServiceByInstance

        public void setPercentOfPlayersForANewServiceByInstance​(int percentOfPlayersForANewServiceByInstance)
      • getForAnewInstanceDelayTimeInSeconds

        public int getForAnewInstanceDelayTimeInSeconds()
      • setForAnewInstanceDelayTimeInSeconds

        public void setForAnewInstanceDelayTimeInSeconds​(int forAnewInstanceDelayTimeInSeconds)
      • getMinNonFullServices

        public int getMinNonFullServices()
      • setMinNonFullServices

        public void setMinNonFullServices​(int minNonFullServices)
      • setTemplateInstaller

        public void setTemplateInstaller​(TemplateInstaller templateInstaller)
      • getMaxServiceCount

        public int getMaxServiceCount()
      • setMaxServiceCount

        public void setMaxServiceCount​(int maxServiceCount)