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.
|
java.util.List<java.lang.Long> |
getDeleted()
Get a list of the Deleted objects.
|
long |
getDeletedCount()
Gets the count of deleted messages
|
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
|
LostStreamData |
getLostStreamData()
Get the lost stream data information if available.
|
long |
getMsgCount()
Gets the message count of the stream.
|
long |
getSubjectCount()
Gets the count of subjects in the stream.
|
java.util.Map<java.lang.String,java.lang.Long> |
getSubjectMap()
Get a map of subjects instead of a list of Subject objects.
|
java.util.List<Subject> |
getSubjects()
Get a list of the Subject objects.
|
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 long getSubjectCount()
public java.util.List<Subject> getSubjects()
public java.util.Map<java.lang.String,java.lang.Long> getSubjectMap()
public long getDeletedCount()
public java.util.List<java.lang.Long> getDeleted()
public LostStreamData getLostStreamData()
public java.lang.String toString()
toString
in class java.lang.Object