public static class SlotState.Idle$ extends SlotState.ConnectedState implements SlotState.IdleState, SlotState.WithRequestDispatching, scala.Product, scala.Serializable
SlotState.BusyState, SlotState.BusyWithResultAlreadyDispatched, SlotState.ConnectedState, SlotState.Connecting, SlotState.Connecting$, SlotState.Idle$, SlotState.IdleState, SlotState.PreConnecting$, SlotState.Unconnected$, SlotState.WaitingForEndOfRequestEntity, SlotState.WaitingForEndOfRequestEntity$, SlotState.WaitingForEndOfResponseEntity, SlotState.WaitingForEndOfResponseEntity$, SlotState.WaitingForResponse, SlotState.WaitingForResponse$, SlotState.WaitingForResponseDispatch, SlotState.WaitingForResponseDispatch$, SlotState.WaitingForResponseEntitySubscription, SlotState.WaitingForResponseEntitySubscription$, SlotState.WithRequestDispatching
Modifier and Type | Field and Description |
---|---|
static SlotState.Idle$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Idle$() |
Modifier and Type | Method and Description |
---|---|
SlotState |
onConnectionCompleted(SlotContext ctx) |
SlotState |
onConnectionFailed(SlotContext ctx,
java.lang.Throwable cause) |
SlotState |
onNewRequest(SlotContext ctx,
PoolFlow.RequestContext requestContext) |
isConnected
illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionAttemptSucceeded, onPreConnect, onRequestEntityCompleted, onRequestEntityFailed, onResponseDispatchable, onResponseEntityCompleted, onResponseEntityFailed, onResponseEntitySubscribed, onResponseReceived, onShutdown, onTimeout, stateTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isIdle
dispatchRequestToConnection
public static final SlotState.Idle$ MODULE$
public SlotState onNewRequest(SlotContext ctx, PoolFlow.RequestContext requestContext)
onNewRequest
in class SlotState
public SlotState onConnectionCompleted(SlotContext ctx)
onConnectionCompleted
in class SlotState
public SlotState onConnectionFailed(SlotContext ctx, java.lang.Throwable cause)
onConnectionFailed
in class SlotState