public static class StreamInfo.XInfoStream extends StreamInfo.XInfoObject
DEFAULT_TYPE_HINTS
Modifier and Type | Method and Description |
---|---|
String |
firstEntryId()
The id of the streams first entry.
|
static StreamInfo.XInfoStream |
fromList(List<Object> source)
Factory method to create a new instance of
StreamInfo.XInfoStream . |
Map<Object,Object> |
getFirstEntry()
The streams first entry.
|
Map<Object,Object> |
getLastEntry()
The streams first entry.
|
Long |
groupCount()
The number of associated consumer groups.
|
String |
lastEntryId()
The id of the streams last entry.
|
String |
lastGeneratedId()
The last generated id.
|
Long |
radixTreeKeySize()
The streams radix tree key size.
|
Long |
radixTreeNodesSize()
Total number of element radix tree nodes.
|
Long |
streamLength()
Total number of element in the stream.
|
getRaw, toString
public static StreamInfo.XInfoStream fromList(List<Object> source)
StreamInfo.XInfoStream
.source
- the raw value source.public Long streamLength()
public Long radixTreeKeySize()
public Long radixTreeNodesSize()
public Long groupCount()
public String lastGeneratedId()
lastEntryId()
. Corresponds to
last-generated-id.public String firstEntryId()
public Map<Object,Object> getFirstEntry()
public String lastEntryId()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.