Class SlotState

    • Constructor Detail

      • SlotState

        public SlotState()
    • Method Detail

      • isIdle

        public abstract boolean isIdle()
      • isConnected

        public abstract boolean isConnected()
      • onConnectionAttemptFailed

        public SlotState onConnectionAttemptFailed​(SlotContext ctx,
                                                   java.lang.Throwable cause)
      • onNewConnectionEmbargo

        public SlotState onNewConnectionEmbargo​(SlotContext ctx,
                                                scala.concurrent.duration.FiniteDuration embargoDuration)
      • onRequestEntityCompleted

        public SlotState onRequestEntityCompleted​(SlotContext ctx)
        Will be called either immediately if the request entity is strict or otherwise later
      • onRequestEntityFailed

        public SlotState onRequestEntityFailed​(SlotContext ctx,
                                               java.lang.Throwable cause)
      • onResponseDispatchable

        public SlotState onResponseDispatchable​(SlotContext ctx)
        Called when the response out port is ready to receive a further response (successful or failed)
      • onResponseEntityCompleted

        public SlotState onResponseEntityCompleted​(SlotContext ctx)
        Will be called either immediately if the response entity is strict or otherwise later
      • onResponseEntityFailed

        public SlotState onResponseEntityFailed​(SlotContext ctx,
                                                java.lang.Throwable cause)
      • onConnectionFailed

        public SlotState onConnectionFailed​(SlotContext ctx,
                                            java.lang.Throwable cause)
      • onShutdown

        public void onShutdown​(SlotContext ctx)
      • stateTimeout

        public scala.concurrent.duration.Duration stateTimeout()
        A slot can define a timeout for that state after which onTimeout will be called.
      • name

        public java.lang.String name()