Package org.redisson.api
Class StreamConsumer
java.lang.Object
org.redisson.api.StreamConsumer
Object containing details about Stream Consumer
- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns idle time in milliseconds since which this consumer hasn't consumed messagesgetName()
Returns name of this consumerint
Returns amount of pending messages for this consumer
-
Constructor Details
-
StreamConsumer
-
-
Method Details
-
getPending
public int getPending()Returns amount of pending messages for this consumer- Returns:
- amount of pending messages
-
getName
Returns name of this consumer- Returns:
- name of consumer
-
getIdleTime
public long getIdleTime()Returns idle time in milliseconds since which this consumer hasn't consumed messages- Returns:
- idle time in milliseconds
-