Class LIndexCommandKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static RedisRequest lindexCommand(String key, Long index, Function1<StreamWithLength, Unit> onResult)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • lindexCommand

         final static RedisRequest lindexCommand(String key, Long index, Function1<StreamWithLength, Unit> onResult)
        Parameters:
        index -
        • zero-based, negative values count from the tail (-1 is the last element)

        onResult -
        • called with the element, or null if the index is out of range or the key does not exist