Class StreamInfo.XInfoConsumer
java.lang.Object
org.springframework.data.redis.connection.stream.StreamInfo.XInfoObject
org.springframework.data.redis.connection.stream.StreamInfo.XInfoConsumer
- Enclosing class:
StreamInfo
- Since:
- 2.3
- Author:
- Christoph Strobl, Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.data.redis.connection.stream.StreamInfo.XInfoObject
DEFAULT_TYPE_HINTS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe consumer name.The consumer group name.idleTime()
The idle time.long
The idle time (in millis).long
The number of pending messages.Methods inherited from class org.springframework.data.redis.connection.stream.StreamInfo.XInfoObject
getRaw, toString
-
Constructor Details
-
XInfoConsumer
-
-
Method Details
-
groupName
-
consumerName
-
idleTimeMs
public long idleTimeMs()The idle time (in millis). Corresponds to idle.- Returns:
-
idleTime
-
pendingCount
public long pendingCount()The number of pending messages. Corresponds to pending.- Returns:
-