public class StreamInfo extends Object implements Serializable
getStreamInfo() method
that returns a generic Map - in case where more info is returned from a server| Modifier and Type | Field and Description |
|---|---|
static String |
FIRST_ENTRY |
static String |
GROUPS |
static String |
LAST_ENTRY |
static String |
LAST_GENERATED_ID |
static String |
LENGTH |
static String |
RADIX_TREE_KEYS |
static String |
RADIX_TREE_NODES |
| Constructor and Description |
|---|
StreamInfo(Map<String,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
StreamEntry |
getFirstEntry() |
long |
getGroups() |
StreamEntry |
getLastEntry() |
StreamEntryID |
getLastGeneratedId() |
long |
getLength() |
long |
getRadixTreeKeys() |
long |
getRadixTreeNodes() |
Map<String,Object> |
getStreamInfo() |
public static final String LENGTH
public static final String RADIX_TREE_KEYS
public static final String RADIX_TREE_NODES
public static final String GROUPS
public static final String LAST_GENERATED_ID
public static final String FIRST_ENTRY
public static final String LAST_ENTRY
public long getLength()
public long getRadixTreeKeys()
public long getRadixTreeNodes()
public long getGroups()
public StreamEntryID getLastGeneratedId()
public StreamEntry getFirstEntry()
public StreamEntry getLastEntry()
Copyright © 2020. All rights reserved.