public class Process extends AbstractModel
header, skipSign
Constructor and Description |
---|
Process() |
Process(Process 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 |
getAddress()
Get 访问来源,IP 地址和端口号。
|
Long |
getAge()
Get 会话存活时间,单位:秒。
|
Long |
getFileDescriptor()
Get 文件描述符。
|
Long |
getId()
Get 会话 ID。
|
Long |
getIdle()
Get 最后一次执行命令后空闲的时间,单位:秒。
|
String |
getLastCommand()
Get 最后一次执行的命令。
|
String |
getName()
Get 会话名称,使用 CLIENT SETNAME 命令设置。
|
String |
getProxyId()
Get 会话所属的 Proxy节点 ID。
|
void |
setAddress(String Address)
Set 访问来源,IP 地址和端口号。
|
void |
setAge(Long Age)
Set 会话存活时间,单位:秒。
|
void |
setFileDescriptor(Long FileDescriptor)
Set 文件描述符。
|
void |
setId(Long Id)
Set 会话 ID。
|
void |
setIdle(Long Idle)
Set 最后一次执行命令后空闲的时间,单位:秒。
|
void |
setLastCommand(String LastCommand)
Set 最后一次执行的命令。
|
void |
setName(String Name)
Set 会话名称,使用 CLIENT SETNAME 命令设置。
|
void |
setProxyId(String ProxyId)
Set 会话所属的 Proxy节点 ID。
|
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 Process()
public Process(Process source)
public Long getId()
public void setId(Long Id)
Id
- 会话 ID。public String getAddress()
public void setAddress(String Address)
Address
- 访问来源,IP 地址和端口号。public Long getFileDescriptor()
public void setFileDescriptor(Long FileDescriptor)
FileDescriptor
- 文件描述符。public String getName()
public void setName(String Name)
Name
- 会话名称,使用 CLIENT SETNAME 命令设置。public String getLastCommand()
public void setLastCommand(String LastCommand)
LastCommand
- 最后一次执行的命令。public Long getAge()
public void setAge(Long Age)
Age
- 会话存活时间,单位:秒。public Long getIdle()
public void setIdle(Long Idle)
Idle
- 最后一次执行命令后空闲的时间,单位:秒。public String getProxyId()
public void setProxyId(String ProxyId)
ProxyId
- 会话所属的 Proxy节点 ID。Copyright © 2024. All rights reserved.