public class RedisKeySpaceData extends AbstractModel
Constructor and Description |
---|
RedisKeySpaceData() |
RedisKeySpaceData(RedisKeySpaceData 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 |
---|---|
String |
getEncoding()
Get key编码方式。
|
Long |
getExpireTime()
Get key过期时间戳(毫秒),0代表未设置过期时间。
|
Long |
getItemCount()
Get 元素个数。
|
String |
getKey()
Get key名。
|
Long |
getLength()
Get key内存大小,单位Byte。
|
Long |
getMaxElementSize()
Get 最大元素长度。
|
String |
getType()
Get key类型。
|
void |
setEncoding(String Encoding)
Set key编码方式。
|
void |
setExpireTime(Long ExpireTime)
Set key过期时间戳(毫秒),0代表未设置过期时间。
|
void |
setItemCount(Long ItemCount)
Set 元素个数。
|
void |
setKey(String Key)
Set key名。
|
void |
setLength(Long Length)
Set key内存大小,单位Byte。
|
void |
setMaxElementSize(Long MaxElementSize)
Set 最大元素长度。
|
void |
setType(String Type)
Set key类型。
|
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 RedisKeySpaceData()
public RedisKeySpaceData(RedisKeySpaceData source)
public String getKey()
public void setKey(String Key)
Key
- key名。public String getType()
public void setType(String Type)
Type
- key类型。public String getEncoding()
public void setEncoding(String Encoding)
Encoding
- key编码方式。public Long getExpireTime()
public void setExpireTime(Long ExpireTime)
ExpireTime
- key过期时间戳(毫秒),0代表未设置过期时间。public Long getLength()
public void setLength(Long Length)
Length
- key内存大小,单位Byte。public Long getItemCount()
public void setItemCount(Long ItemCount)
ItemCount
- 元素个数。public Long getMaxElementSize()
public void setMaxElementSize(Long MaxElementSize)
MaxElementSize
- 最大元素长度。Copyright © 2022. All rights reserved.