Class Labels<K>

  • All Implemented Interfaces:
    io.lettuce.core.CompositeArgument

    public class Labels<K>
    extends java.lang.Object
    implements io.lettuce.core.CompositeArgument
    • Constructor Summary

      Constructors 
      Constructor Description
      Labels()  
      Labels​(java.util.List<K> names)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addName​(K name)  
      <K,​V>
      void
      build​(io.lettuce.core.protocol.CommandArgs<K,​V> args)  
      java.util.List<K> getNames()  
      static <K> Labels<K> of​(K... names)  
      void setNames​(java.util.List<K> names)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Labels

        public Labels()
      • Labels

        public Labels​(java.util.List<K> names)
    • Method Detail

      • getNames

        public java.util.List<K> getNames()
      • addName

        public void addName​(K name)
      • setNames

        public void setNames​(java.util.List<K> names)
      • build

        public <K,​V> void build​(io.lettuce.core.protocol.CommandArgs<K,​V> args)
        Specified by:
        build in interface io.lettuce.core.CompositeArgument
      • of

        public static <K> Labels<K> of​(K... names)