Interface Endpoint

    • Method Detail

      • initialState

        void initialState()
        Reset this endpoint to its initial state, clear all buffers and potentially close the bound channel.
        Since:
        5.1
      • notifyChannelActive

        void notifyChannelActive​(Channel channel)
        Notify about channel activation.
        Parameters:
        channel - the channel
      • notifyChannelInactive

        void notifyChannelInactive​(Channel channel)
        Notify about channel deactivation.
        Parameters:
        channel - the channel
      • notifyException

        void notifyException​(Throwable t)
        Notify about an exception occured in channel/command processing
        Parameters:
        t - the Exception
      • notifyDrainQueuedCommands

        void notifyDrainQueuedCommands​(io.lettuce.core.protocol.HasQueuedCommands queuedCommands)
        Signal the endpoint to drain queued commands from the queue holder.
        Parameters:
        queuedCommands - the queue holder.
      • getId

        String getId()
        Returns:
        the endpoint Id.
        Since:
        6.1