Class SlotState.Embargoed

java.lang.Object
akka.http.impl.engine.client.pool.SlotState
akka.http.impl.engine.client.pool.SlotState.Embargoed
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product
Enclosing class:
SlotState

public static class SlotState.Embargoed extends SlotState implements scala.Product, Serializable
See Also:
  • Constructor Details

    • Embargoed

      public Embargoed(scala.concurrent.duration.FiniteDuration embargoDuration)
  • Method Details

    • embargoDuration

      public scala.concurrent.duration.FiniteDuration embargoDuration()
    • isConnected

      public boolean isConnected()
      Specified by:
      isConnected in class SlotState
    • isIdle

      public boolean isIdle()
      Specified by:
      isIdle in class SlotState
    • stateTimeout

      public scala.concurrent.duration.Duration stateTimeout()
      Description copied from class: SlotState
      A slot can define a timeout for that state after which onTimeout will be called.
      Overrides:
      stateTimeout in class SlotState
    • onTimeout

      public SlotState onTimeout(SlotContext ctx)
      Overrides:
      onTimeout in class SlotState
    • onNewConnectionEmbargo

      public SlotState onNewConnectionEmbargo(SlotContext ctx, scala.concurrent.duration.FiniteDuration embargoDuration)
      Overrides:
      onNewConnectionEmbargo in class SlotState