org.apache.hc.client5.http.schedule

## Interface SchedulingStrategy

- All Known Implementing Classes:
    ExponentialBackOffSchedulingStrategy, ImmediateSchedulingStrategy

      @Contract(threading=STATELESS)
      public interface SchedulingStrategy

  Strategy to determine an execution time (schedule) for an operation.
  Since:
    5.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `TimeValue` | `schedule(int attemptNumber)` Schedules execution time for an operation.

- - ### Method Detail

    - #### schedule

          TimeValue schedule(int attemptNumber)

      Schedules execution time for an operation.

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.