public class RedisPreKeySpaceData extends AbstractModel
Constructor and Description |
---|
RedisPreKeySpaceData() |
RedisPreKeySpaceData(RedisPreKeySpaceData source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAveElementSize()
Get Average element length
|
Long |
getCount()
Get The number of keys
|
Long |
getItemCount()
Get The number of elements
|
String |
getKeyPreIndex()
Get Key prefix
|
Long |
getLength()
Get Total memory usage in bytes
|
Long |
getMaxElementSize()
Get The max element length
|
void |
setAveElementSize(Long AveElementSize)
Set Average element length
|
void |
setCount(Long Count)
Set The number of keys
|
void |
setItemCount(Long ItemCount)
Set The number of elements
|
void |
setKeyPreIndex(String KeyPreIndex)
Set Key prefix
|
void |
setLength(Long Length)
Set Total memory usage in bytes
|
void |
setMaxElementSize(Long MaxElementSize)
Set The max element length
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RedisPreKeySpaceData()
public RedisPreKeySpaceData(RedisPreKeySpaceData source)
public Long getAveElementSize()
public void setAveElementSize(Long AveElementSize)
AveElementSize
- Average element lengthpublic Long getLength()
public void setLength(Long Length)
Length
- Total memory usage in bytespublic String getKeyPreIndex()
public void setKeyPreIndex(String KeyPreIndex)
KeyPreIndex
- Key prefixpublic Long getItemCount()
public void setItemCount(Long ItemCount)
ItemCount
- The number of elementspublic Long getCount()
public void setCount(Long Count)
Count
- The number of keyspublic Long getMaxElementSize()
public void setMaxElementSize(Long MaxElementSize)
MaxElementSize
- The max element lengthCopyright © 2023. All rights reserved.