Class ArRingCommandKt

    • 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 arringCommand(String key, Long size, Collection<StreamWithLength> values, Function1<Long, Unit> onResult) Inserts values into a ring buffer of size elements: the insert cursor wraps around to 0 at size.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • arringCommand

         final static RedisRequest arringCommand(String key, Long size, Collection<StreamWithLength> values, Function1<Long, Unit> onResult)

        Inserts values into a ring buffer of size elements: the insert cursor wraps around to 0 at size. An existing array with more than size elements is shrunk to size elements first.

        Parameters:
        onResult -
        • called with the index of the last inserted value