All Downloads are FREE. Search and download functionalities are using the official Maven repository.

taskurotta.taskurotta.yml Maven / Gradle / Ivy

runtime:
  - rtMain:
      class: ru.taskurotta.spring.configs.RuntimeConfigPathXmlApplicationContext
      instance:
        context: ru/taskurotta/recipes/calculate/RuntimeBeans.xml
        properties:
          sleep: -1 #-1 = disabled
          workerFailChance: -1 #-1 = disabled
          deciderFailChance: -1 #-1 = disabled
          varyExceptions: true

spreader:
  - rtMain:
      class: ru.taskurotta.spring.configs.SpreaderConfigPathXmlApplicationContext
      instance:
        context: ru/taskurotta/recipes/calculate/SpreaderBeans-jersey.xml
        properties:
          count: 50
          startTasks: true
          startTasksInBackground: false
          startTaskPeriodSeconds: -1 #-1 = disabled
          endpoint: "http://localhost:8811"
          threadPoolSize: 10
          readTimeout: 0
          connectTimeout: 3000
          waitOnEveryNTask: -1 #-1 = disabled
          waitOnEveryNTaskInSeconds: -1 #-1 = disabled

policy:
  - policyMain:
      class: ru.taskurotta.bootstrap.config.DefaultRetryPolicyFactory
      instance:
        class: ru.taskurotta.policy.retry.LinearRetryPolicy
        properties:
          initialRetryIntervalSeconds: 1
          maximumRetryIntervalSeconds: 1
          maximumAttempts: 99

profiler:
  - rollingProfiler:
      class: ru.taskurotta.bootstrap.profiler.impl.RollingLoggingProfilerConfig
      instance:
        singleton: true
        logPeriod: 30000

actor:
  - MathActionDecider:
      actorInterface: ru.taskurotta.recipes.calculate.decider.MathActionDecider

  - Multiplier:
      actorInterface: ru.taskurotta.recipes.calculate.worker.Multiplier

  - NumberGenerator:
      actorInterface: ru.taskurotta.recipes.calculate.worker.NumberGenerator

  - Summarizer:
      actorInterface: ru.taskurotta.recipes.calculate.worker.Summarizer

logging:
  file:
    enabled: false
  console:
    enabled: true




© 2015 - 2025 Weber Informatics LLC | Privacy Policy