org.apache.hc.client5.http.impl.schedule

## Class ImmediateSchedulingStrategy

- java.lang.Object
- - org.apache.hc.client5.http.impl.schedule.ImmediateSchedulingStrategy

- All Implemented Interfaces:
    SchedulingStrategy

      @Contract(threading=STATELESS)
      public class ImmediateSchedulingStrategy
      extends Object
      implements SchedulingStrategy

  Immediately schedules any operation.
  Since:
    5.0

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ImmediateSchedulingStrategy` | `INSTANCE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImmediateSchedulingStrategy()`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSTANCE

          public static final ImmediateSchedulingStrategy INSTANCE

  - ### Constructor Detail

    - #### ImmediateSchedulingStrategy

          public ImmediateSchedulingStrategy()

  - ### Method Detail

    - #### schedule

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

      Description copied from interface: `SchedulingStrategy`
      Schedules execution time for an operation.
      Specified by:
        `schedule` in interface `SchedulingStrategy`

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