K
- key typeV
- value typepublic class StreamInfo<K,V> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StreamInfo.Entry<K,V> |
Constructor and Description |
---|
StreamInfo() |
Modifier and Type | Method and Description |
---|---|
StreamInfo.Entry<K,V> |
getFirstEntry()
Returns first stream entry
|
int |
getGroups()
Returns amount of groups belonging to the stream
|
StreamInfo.Entry<K,V> |
getLastEntry()
Returns last stream entry
|
StreamMessageId |
getLastGeneratedId()
Returns last StreamMessageId used by the stream
|
int |
getLength()
Returns length of the stream
|
int |
getRadixTreeKeys()
Returns amount of keys allocated by Radix tree of the stream.
|
int |
getRadixTreeNodes()
Returns amount of nodes allocated by Radix tree of the stream.
|
void |
setFirstEntry(StreamInfo.Entry<K,V> firstEntry) |
void |
setGroups(int groups) |
void |
setLastEntry(StreamInfo.Entry<K,V> lastEntry) |
void |
setLastGeneratedId(StreamMessageId lastGeneratedId) |
void |
setLength(int length) |
void |
setRadixTreeKeys(int radixTreeKeys) |
void |
setRadixTreeNodes(int radixTreeNodes) |
public int getLength()
public void setLength(int length)
public int getRadixTreeKeys()
public void setRadixTreeKeys(int radixTreeKeys)
public int getRadixTreeNodes()
public void setRadixTreeNodes(int radixTreeNodes)
public int getGroups()
public void setGroups(int groups)
public StreamMessageId getLastGeneratedId()
public void setLastGeneratedId(StreamMessageId lastGeneratedId)
public StreamInfo.Entry<K,V> getFirstEntry()
public void setFirstEntry(StreamInfo.Entry<K,V> firstEntry)
public StreamInfo.Entry<K,V> getLastEntry()
public void setLastEntry(StreamInfo.Entry<K,V> lastEntry)
Copyright © 2014–2020 Redisson. All rights reserved.