Annotation Type Runner


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    public @interface Runner
    Annotation to declare which implementation of SimulationRunner will be used. Default runner, that is DefaultSimulationRunner, is implemented in push-style, so that the generated load will cause the scenarios to get called. If the scenario implementation is blocking, then the caller thread will get blocked, as well.

    The number of threads which will be employed, can be configured in rhino.properties file with the property, "runner.parallelisation".

    Since:
    1.1.0
    Author:
    Erhan Bagdemir
    See Also:
    SimulationRunner
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<? extends SimulationRunner> clazz  
    • Element Detail

      • clazz

        java.lang.Class<? extends SimulationRunner> clazz
        Default:
        io.ryos.rhino.sdk.runners.DefaultSimulationRunner.class