Interface LoadStepClient

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.github.akurilov.commons.concurrent.AsyncRunnable

        com.github.akurilov.commons.concurrent.AsyncRunnable.State
    • Field Detail

      • OUTPUT_PROGRESS_PERIOD_MILLIS

        static final int OUTPUT_PROGRESS_PERIOD_MILLIS
        See Also:
        Constant Field Values
    • Method Detail

      • config

        <T extends LoadStepClient> T config​(java.util.Map<java.lang.String,​java.lang.Object> config)
                                     throws java.lang.IllegalStateException
        Configure the step
        Parameters:
        config - a dictionary of the configuration values to override the inherited config
        Returns:
        new/copied step instance with the applied config values
        Throws:
        java.lang.IllegalStateException - if was called after any append(...) call
      • append

        <T extends LoadStepClient> T append​(java.util.Map<java.lang.String,​java.lang.Object> context)
        Append the load step context. The actual behavior depends on the particular step type
        Parameters:
        context - a dictionary of the additional parameters handled by the particular load step implementation
        Returns:
        new/copied step instance with the appended context