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
-
Field Summary
Fields inherited from class org.springframework.data.redis.connection.stream.StreamInfo.XInfoObject
DEFAULT_TYPE_HINTS
-
Constructor Summary
-
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
The consumer group name.- Returns:
-
consumerName
The consumer name. Corresponds to name.- Returns:
-
idleTimeMs
public long idleTimeMs()The idle time (in millis). Corresponds to idle.- Returns:
-
idleTime
The idle time. Corresponds to idle.- Returns:
-
pendingCount
public long pendingCount()The number of pending messages. Corresponds to pending.- Returns:
-