public class NetInterfaceGather extends Object
| 构造器和说明 |
|---|
NetInterfaceGather() |
| 限定符和类型 | 方法和说明 |
|---|---|
static NetInterfaceGather |
gather(org.hyperic.sigar.Sigar sigar) |
org.hyperic.sigar.NetInterfaceConfig |
getConfig() |
List<org.nutz.lang.util.NutMap> |
getDetail() |
static String |
getHostName() |
org.hyperic.sigar.NetInfo |
getInfo() |
static String |
getIp() |
long |
getRxbps() |
org.hyperic.sigar.NetInterfaceStat |
getStat() |
long |
getTxbps() |
void |
setConfig(org.hyperic.sigar.NetInterfaceConfig config) |
void |
setDetail(List<org.nutz.lang.util.NutMap> detail) |
static void |
setHostName(String hostName) |
void |
setInfo(org.hyperic.sigar.NetInfo info) |
static void |
setIp(String ip) |
void |
setRxbps(long rxbps) |
void |
setStat(org.hyperic.sigar.NetInterfaceStat stat) |
void |
setTxbps(long txbps) |
public static NetInterfaceGather gather(org.hyperic.sigar.Sigar sigar)
public static String getIp()
public static void setIp(String ip)
ip - the ip to setpublic static String getHostName()
public static void setHostName(String hostName)
hostName - the hostName to setpublic org.hyperic.sigar.NetInterfaceConfig getConfig()
public long getRxbps()
public void setRxbps(long rxbps)
rxbps - the rxbps to setpublic long getTxbps()
public void setTxbps(long txbps)
txbps - the txbps to setpublic void setConfig(org.hyperic.sigar.NetInterfaceConfig config)
config - the config to setpublic org.hyperic.sigar.NetInterfaceStat getStat()
public void setStat(org.hyperic.sigar.NetInterfaceStat stat)
stat - the stat to setpublic org.hyperic.sigar.NetInfo getInfo()
public void setInfo(org.hyperic.sigar.NetInfo info)
info - the info to setpublic List<org.nutz.lang.util.NutMap> getDetail()
public void setDetail(List<org.nutz.lang.util.NutMap> detail)
detail - the detail to setCopyright © 2017. All rights reserved.