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

tests.stress.mem.mem-mock.yml Maven / Gradle / Ivy

The newest version!
runtime:
  - MainRuntimeConfig:
      class: ru.taskurotta.spring.configs.RuntimeConfigPathXmlApplicationContext
      instance:
        context: classpath:ru/taskurotta/recipes/stress/RuntimeBeans.xml

spreader:
  - MainTaskSpreaderConfig:
      class: ru.taskurotta.spring.configs.SpreaderConfigPathXmlApplicationContext
      instance:
        contexts:
          - classpath:ru/taskurotta/recipes/stress/SpreaderBeans-mock.xml
        defaultPropertiesLocation: default.properties
        properties:
          cycles: 10
          initialCount: 8
          shotSize: 4000
          needRun: true
          pollDelay: 10
          pollDelayUnit: "SECONDS"
          hz.mancenter.enabled: false
          hz.nodes: localhost:7777
          mongo.host: localhost
          mongo.port: 27017

profiler:
  - MainProfilerConfig:
      class: ru.taskurotta.bootstrap.config.DefaultProfilerConfig
      instance:
        class: ru.taskurotta.recipes.stress.LifetimeProfiler
        properties:
          exitAfterAll: false
          tasksForStat: 1000
          maxProcessQuantity: 15000000

actor:
  - MultiplierDecider:
      actorInterface: ru.taskurotta.recipes.multiplier.MultiplierDecider
      runtimeConfig: MainRuntimeConfig
      spreaderConfig: MainTaskSpreaderConfig
      profilerConfig: MainProfilerConfig
      count: 20

logback:
    appender:
        - STDOUT:
             key: name
             \@class: ch.qos.logback.core.ConsoleAppender
             encoder:
                 pattern: \%c - \%m\%n
        - FILE:
             key: name
             \@class: ch.qos.logback.core.FileAppender
             file: ./target/logs/recipes-multiply.log
             append: true
             encoder:
                 pattern: \%-4r [\%t] \%-5p \%c - \%m\%n
    logger:
        - ru.taskurotta:
             key: name
             \@level: !!!str OFF
        - ru.taskurotta.recipes.stress:
             key: name
             \@level: DEBUG
        - org:
             key: name
             \@level: !!!str OFF
        - httpclient:
             key: name
             \@level: !!!str OFF
    root:
        appender-ref:
            - STDOUT:
                key: ref
            - FILE:
                key: ref





© 2015 - 2025 Weber Informatics LLC | Privacy Policy