Class RuntimeConfigHolder

java.lang.Object
de.hybris.platform.task.impl.RuntimeConfigHolder
Direct Known Subclasses:
AdjustItemsToScheduleCountTasksProviderTest.MockRuntimeConfigHolder, AuxiliaryTablesBasedTaskProviderTest.RuntimeConfigHolderTest, AuxiliaryTablesSchedulerRoleTest.MockRuntimeConfigHolder, AuxiliaryTablesWorkerRoleTest.MockRuntimeConfigHolder, BufferedTasksProviderTest.MockRuntimeConfigHolder, DelegatingTasksProviderTest.MockRuntimeConfigHolder

public class RuntimeConfigHolder extends Object
  • Constructor Details

    • RuntimeConfigHolder

      public RuntimeConfigHolder()
  • Method Details

    • getProperty

      public <T> T getProperty(RuntimeConfigHolder.TaskEngineProperty<T> parameter, int newNumberOfWorkers)
    • getProperty

      public <T> T getProperty(RuntimeConfigHolder.TaskEngineProperty<T> parameter)
    • metricName

      public static String metricName(String name)
    • stringParameter

      public static de.hybris.platform.task.impl.RuntimeConfigHolder.StringTaskEngineProperty stringParameter(String name, String defaultValue)
    • intProperty

      public static de.hybris.platform.task.impl.RuntimeConfigHolder.IntTaskEngineProperty intProperty(String name, Integer defaultValue)
    • durationProperty

      public static de.hybris.platform.task.impl.RuntimeConfigHolder.DurationTaskEngineProperty durationProperty(String name, TemporalUnit temporalUnit, Duration defaultValue)