Class SocketAddressOutput<K,​V>


  • public class SocketAddressOutput<K,​V>
    extends CommandOutput<K,​V,​SocketAddress>
    Output capturing a hostname and port (both string elements) into a SocketAddress.
    Since:
    5.0.1
    Author:
    Mark Paluch
    • Constructor Detail

      • SocketAddressOutput

        public SocketAddressOutput​(RedisCodec<K,​V> codec)
    • Method Detail

      • set

        public void set​(ByteBuffer bytes)
        Description copied from class: CommandOutput
        Update the command output with a sequence of bytes, or null. Concrete CommandOutput implementations must override this method to decode bulk/bytes response values.
        Overrides:
        set in class CommandOutput<K,​V,​SocketAddress>
        Parameters:
        bytes - The command output, or null.