Class ClientListArgs

    • Constructor Detail

      • ClientListArgs

        public ClientListArgs()
    • Method Detail

      • ids

        public ClientListArgs ids​(long... ids)
        Filter the clients with its client ids.
        Parameters:
        ids - client ids
        Returns:
        this ClientListArgs.
      • type

        public ClientListArgs type​(io.lettuce.core.ClientListArgs.Type type)
        This filters the connections of all the clients in the specified ClientListArgs.Type. Note that clients blocked into the MONITOR command are considered to belong to the normal class.
        Parameters:
        type - must not be null.
        Returns:
        this ClientListArgs.
      • build

        public <K,​V> void build​(CommandArgs<K,​V> args)
        Description copied from interface: CompositeArgument
        Build command arguments and contribute arguments to CommandArgs.

        Implementing classes are required to implement this method. Depending on the command nature and configured arguments, this method may contribute arguments but is not required to add arguments if none are specified.

        Specified by:
        build in interface CompositeArgument
        Type Parameters:
        K - Key type.
        V - Value type.
        Parameters:
        args - the command arguments, must not be null.