@Experimental public class ArrayInfo extends Object
ARINFO command.
Known fields are available via typed getters. The raw server map is accessible via getInfo() so callers can read
fields added in future server versions without requiring a client release.
| Modifier and Type | Field and Description |
|---|---|
static String |
COUNT |
static String |
DIRECTORY_SIZE |
static String |
LEN |
static String |
NEXT_INSERT_INDEX |
static String |
SLICE_SIZE |
static String |
SLICES |
static String |
SUPER_DIR_ENTRIES |
| Constructor and Description |
|---|
ArrayInfo(Map<String,Object> map)
Creates a new
ArrayInfo from the raw server response map. |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCount() |
Long |
getDirectorySize() |
Map<String,Object> |
getInfo()
Returns the raw server response map.
|
Long |
getLen() |
Long |
getNextInsertIndex() |
Long |
getSlices() |
Long |
getSliceSize() |
Long |
getSuperDirEntries() |
public static final String COUNT
public static final String LEN
public static final String NEXT_INSERT_INDEX
public static final String SLICES
public static final String DIRECTORY_SIZE
public static final String SUPER_DIR_ENTRIES
public static final String SLICE_SIZE
public Map<String,Object> getInfo()
public Long getCount()
null if not available.public Long getLen()
null if not available.public Long getNextInsertIndex()
ARINSERT, or null if not available.public Long getSlices()
null if not available.public Long getDirectorySize()
null if not available.public Long getSuperDirEntries()
null if not available.public Long getSliceSize()
null if not available.Copyright © 2026 lettuce.io. All rights reserved.