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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.hc.core5.util.TimeValue` | `schedule(int attemptNumber)` Schedules execution time for an operation.

- - ### Method Detail

    - #### schedule

          org.apache.hc.core5.util.TimeValue schedule(int attemptNumber)

      Schedules execution time for an operation.

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