Class SlotState.Idle
java.lang.Object
org.apache.pekko.http.impl.engine.client.pool.SlotState
org.apache.pekko.http.impl.engine.client.pool.SlotState.ConnectedState
org.apache.pekko.http.impl.engine.client.pool.SlotState.Idle
- All Implemented Interfaces:
- Serializable,- SlotState.IdleState,- scala.Equals,- scala.Product
- Enclosing class:
- SlotState
public static final class SlotState.Idle
extends SlotState.ConnectedState
implements SlotState.IdleState, scala.Product, Serializable
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotStateSlotState.BusyState, SlotState.BusyWithResultAlreadyDetermined, SlotState.ConnectedState, SlotState.Connecting, SlotState.Connecting$, SlotState.Embargoed, SlotState.Embargoed$, SlotState.Failed, SlotState.Failed$, SlotState.Idle, SlotState.Idle$, SlotState.IdleState, SlotState.OutOfEmbargo$, SlotState.PreConnecting$, SlotState.PushingRequestToConnection, SlotState.PushingRequestToConnection$, SlotState.ShouldCloseConnectionState, SlotState.ToBeClosed$, SlotState.Unconnected$, SlotState.UnconnectedState, SlotState.WaitingForEndOfRequestEntity$, SlotState.WaitingForEndOfResponseEntity, SlotState.WaitingForEndOfResponseEntity$, SlotState.WaitingForResponse, SlotState.WaitingForResponse$, SlotState.WaitingForResponseDispatch, SlotState.WaitingForResponseDispatch$, SlotState.WaitingForResponseEntitySubscription, SlotState.WaitingForResponseEntitySubscription$
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionscala.concurrent.duration.DurationonConnectionFailed(SlotContext ctx, Throwable cause) onNewRequest(SlotContext ctx, PoolFlow.RequestContext requestContext) onTimeout(SlotContext ctx) scala.concurrent.duration.DurationA slot can define a timeout for that state after which onTimeout will be called.Methods inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotState.ConnectedStateisConnected, onNewConnectionEmbargoMethods inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotStateidle, illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionAttemptSucceeded, onPreConnect, onRequestDispatched, onRequestEntityCompleted, onRequestEntityFailed, onResponseDispatchable, onResponseEntityCompleted, onResponseEntityFailed, onResponseEntitySubscribed, onResponseReceived, onShutdownMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.engine.client.pool.SlotState.IdleStateisIdle
- 
Constructor Details- 
Idlepublic Idle(scala.concurrent.duration.Duration keepAliveTimeout) 
 
- 
- 
Method Details- 
keepAliveTimeoutpublic scala.concurrent.duration.Duration keepAliveTimeout()
- 
stateTimeoutpublic scala.concurrent.duration.Duration stateTimeout()Description copied from class:SlotStateA slot can define a timeout for that state after which onTimeout will be called.- Overrides:
- stateTimeoutin class- SlotState
 
- 
onNewRequest- Overrides:
- onNewRequestin class- SlotState
 
- 
onTimeout
- 
onConnectionCompleted- Overrides:
- onConnectionCompletedin class- SlotState
 
- 
onConnectionFailed- Overrides:
- onConnectionFailedin class- SlotState
 
 
-