Packages

object RedisStream extends RedisStream

Exposes only methods from the RedisStream api

Annotations
@deprecated
Deprecated

(Since version 0.6.0) use the pure monix.connect.redis.client.RedisConnection

Source
RedisStream.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisStream
  2. RedisStream
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. def xack[K, V](key: K, group: K, messageIds: String*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Acknowledge one or more messages as processed.

    Acknowledge one or more messages as processed.

    returns

    simple-reply the lenght of acknowledged messages.

    Definition Classes
    RedisStream
  21. def xadd[K, V](key: K, body: Map[K, V])(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Append a message to the stream key.

    Append a message to the stream key.

    returns

    simple-reply the message Id.

    Definition Classes
    RedisStream
  22. def xclaim[K, V](key: K, consumer: Consumer[K], minIdleTime: Long, messageIds: String*)(implicit connection: StatefulRedisConnection[K, V]): Observable[StreamMessage[K, V]]

    Gets ownership of one or multiple messages in the Pending Entries List of a given stream consumer group.

    Gets ownership of one or multiple messages in the Pending Entries List of a given stream consumer group.

    returns

    simple-reply the { @link StreamMessage}

    Definition Classes
    RedisStream
  23. def xdel[K, V](key: K, messageIds: String*)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Removes the specified entries from the stream.

    Removes the specified entries from the stream. Returns the number of items deleted, that may be different from the number of IDs passed in case certain IDs do not exist.

    returns

    simple-reply number of removed entries.

    Definition Classes
    RedisStream
  24. def xgroupCreate[K, V](streamOffset: StreamOffset[K], group: K)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Create a consumer group.

    Create a consumer group.

    returns

    simple-reply { @literal true} if successful.

    Definition Classes
    RedisStream
  25. def xgroupDelconsumer[K, V](key: K, consumer: Consumer[K])(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Delete a consumer from a consumer group.

    Delete a consumer from a consumer group.

    returns

    simple-reply { @literal true} if successful.

    Definition Classes
    RedisStream
  26. def xgroupDestroy[K, V](key: K, group: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Destroy a consumer group.

    Destroy a consumer group.

    returns

    simple-reply { @literal true} if successful.

    Definition Classes
    RedisStream
  27. def xgroupSetid[K, V](streamOffset: StreamOffset[K], group: K)(implicit connection: StatefulRedisConnection[K, V]): Task[String]

    Set the current group id.

    Set the current group id.

    returns

    simple-reply OK

    Definition Classes
    RedisStream
  28. def xlen[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Get the length of a steam.

    Get the length of a steam.

    returns

    simple-reply the lenght of the stream.

    Definition Classes
    RedisStream
  29. def xpending[K, V](key: K, consumer: Consumer[K], range: Range[String], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[Any]

    Read pending messages from a stream within a specific Range.

    Read pending messages from a stream within a specific Range.

    returns

    List<Object> array-reply list with members of the resulting stream.

    Definition Classes
    RedisStream
  30. def xpending[K, V](key: K, group: K, range: Range[String], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[Any]

    Read pending messages from a stream within a specific Range.

    Read pending messages from a stream within a specific Range.

    returns

    List<Object> array-reply list with members of the resulting stream.

    Definition Classes
    RedisStream
  31. def xpending[K, V](key: K, group: K)(implicit connection: StatefulRedisConnection[K, V]): Observable[Any]

    Read pending messages from a stream for a group.

    Read pending messages from a stream for a group.

    returns

    List<Object> array-reply list pending entries.

    Definition Classes
    RedisStream
  32. def xrange[K, V](key: K, range: Range[String], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[StreamMessage[K, V]]

    Read messages from a stream within a specific Range applying a Limit.

    Read messages from a stream within a specific Range applying a Limit.

    returns

    Members of the resulting stream.

    Definition Classes
    RedisStream
  33. def xrange[K, V](key: K, range: Range[String])(implicit connection: StatefulRedisConnection[K, V]): Observable[StreamMessage[K, V]]

    Read messages from a stream within a specific Range.

    Read messages from a stream within a specific Range.

    returns

    Members of the resulting stream.

    Definition Classes
    RedisStream
  34. def xread[K, V](streams: StreamOffset[K]*)(implicit connection: StatefulRedisConnection[K, V]): Observable[StreamMessage[K, V]]

    Read messages from one or more StreamOffsets.

    Read messages from one or more StreamOffsets.

    returns

    Members of the resulting stream.

    Definition Classes
    RedisStream
  35. def xreadgroup[K, V](consumer: Consumer[K], streams: StreamOffset[K]*)(implicit connection: StatefulRedisConnection[K, V]): Observable[StreamMessage[K, V]]

    Read messages from one or more StreamOffsets using a consumer group.

    Read messages from one or more StreamOffsets using a consumer group.

    returns

    List<StreamMessage> array-reply list with members of the resulting stream.

    Definition Classes
    RedisStream
  36. def xrevrange[K, V](key: K, range: Range[String], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[StreamMessage[K, V]]

    Read messages from a stream within a specific Range applying a Limit in reverse order.

    Read messages from a stream within a specific Range applying a Limit in reverse order.

    returns

    Meembers of the resulting stream.

    Definition Classes
    RedisStream
  37. def xrevrange[K, V](key: K, range: Range[String])(implicit connection: StatefulRedisConnection[K, V]): Observable[StreamMessage[K, V]]

    Read messages from a stream within a specific Range in reverse order.

    Read messages from a stream within a specific Range in reverse order.

    returns

    Members of the resulting stream.

    Definition Classes
    RedisStream
  38. def xtrim[K, V](key: K, approximateTrimming: Boolean, count: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Trims the stream to count elements.

    Trims the stream to count elements.

    returns

    Number of removed entries.

    Definition Classes
    RedisStream
  39. def xtrim[K, V](key: K, count: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Trims the stream to count elements.

    Trims the stream to count elements.

    returns

    Number of removed entries.

    Definition Classes
    RedisStream

Inherited from RedisStream

Inherited from AnyRef

Inherited from Any

Ungrouped