Class Slice

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

    public class Slice
    extends java.lang.Object
    implements io.lettuce.core.CompositeArgument
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Slice.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Slice​(long start)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <K,​V>
      void
      build​(io.lettuce.core.protocol.CommandArgs<K,​V> args)  
      long getStart()  
      java.util.OptionalLong getStop()  
      static Slice of​(long start)  
      static Slice.Builder start​(long start)  
      • Methods inherited from class java.lang.Object

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

      • Slice

        public Slice​(long start)
    • Method Detail

      • getStart

        public long getStart()
      • getStop

        public java.util.OptionalLong getStop()
      • of

        public static Slice of​(long start)
      • build

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