public class RedisKeySpaceData extends AbstractModel
header, skipSign
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 |
---|---|
Long |
getAveElementSize()
Get 平均元素长度。
|
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 |
getShardId()
Get 所属分片序号。
|
String |
getType()
Get key类型。
|
void |
setAveElementSize(Long AveElementSize)
Set 平均元素长度。
|
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 |
setShardId(String ShardId)
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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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
- 最大元素长度。public Long getAveElementSize()
public void setAveElementSize(Long AveElementSize)
AveElementSize
- 平均元素长度。public String getShardId()
public void setShardId(String ShardId)
ShardId
- 所属分片序号。Copyright © 2024. All rights reserved.