public class StreamState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
long |
getByteCount()
Gets the byte count of the stream.
|
long |
getConsumerCount()
Gets the number of consumers attached to the stream.
|
long |
getFirstSequence()
Gets the first sequence number of the stream.
|
java.time.ZonedDateTime |
getFirstTime()
Gets the time stamp of the first message in the stream
|
long |
getLastSequence()
Gets the last sequence of a message in the stream
|
java.time.ZonedDateTime |
getLastTime()
Gets the time stamp of the last message in the stream
|
long |
getMsgCount()
Gets the message count of the stream.
|
java.lang.String |
toString() |
public long getMsgCount()
public long getByteCount()
public long getFirstSequence()
public java.time.ZonedDateTime getFirstTime()
public long getLastSequence()
public java.time.ZonedDateTime getLastTime()
public long getConsumerCount()
public java.lang.String toString()
toString
in class java.lang.Object