org.rhq.core.system
Class NetworkStats

java.lang.Object
  extended by org.rhq.core.system.NetworkStats

public class NetworkStats
extends Object


Field Summary
protected  int allInboundTotal
           
protected  int allOutboundTotal
           
protected  long receiveQueue
           
protected  long sendQueue
           
protected  int tcpInboundTotal
           
protected  int tcpOutboundTotal
           
protected  int[] tcpStates
           
 
Constructor Summary
NetworkStats(org.hyperic.sigar.NetConnection[] connectionList)
           
NetworkStats(org.hyperic.sigar.NetStat interfaceStat)
           
 
Method Summary
 int getAllInboundTotal()
           
 int getAllOutboundTotal()
           
 int getByName(String propertyName)
           
 int getTcpBound()
           
 int getTcpClose()
           
 int getTcpCloseWait()
           
 int getTcpClosing()
           
 int getTcpEstablished()
           
 int getTcpFinWait1()
           
 int getTcpFinWait2()
           
 int getTcpIdle()
           
 int getTcpInboundTotal()
           
 int getTcpLastAck()
           
 int getTcpListen()
           
 int getTcpOutboundTotal()
           
 int[] getTcpStates()
           
 int getTcpSynRecv()
           
 int getTcpSynSent()
           
 int getTcpTimeWait()
           
 void refresh(org.hyperic.sigar.NetConnection[] connectionList)
           
 void refresh(org.hyperic.sigar.NetStat interfaceStat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tcpStates

protected int[] tcpStates

tcpInboundTotal

protected int tcpInboundTotal

tcpOutboundTotal

protected int tcpOutboundTotal

allInboundTotal

protected int allInboundTotal

allOutboundTotal

protected int allOutboundTotal

sendQueue

protected long sendQueue

receiveQueue

protected long receiveQueue
Constructor Detail

NetworkStats

public NetworkStats(org.hyperic.sigar.NetStat interfaceStat)

NetworkStats

public NetworkStats(org.hyperic.sigar.NetConnection[] connectionList)
Method Detail

refresh

public void refresh(org.hyperic.sigar.NetStat interfaceStat)

refresh

public void refresh(org.hyperic.sigar.NetConnection[] connectionList)

getByName

public int getByName(String propertyName)

getTcpInboundTotal

public int getTcpInboundTotal()

getTcpOutboundTotal

public int getTcpOutboundTotal()

getAllInboundTotal

public int getAllInboundTotal()

getAllOutboundTotal

public int getAllOutboundTotal()

getTcpStates

public int[] getTcpStates()

getTcpEstablished

public int getTcpEstablished()

getTcpSynSent

public int getTcpSynSent()

getTcpSynRecv

public int getTcpSynRecv()

getTcpFinWait1

public int getTcpFinWait1()

getTcpFinWait2

public int getTcpFinWait2()

getTcpTimeWait

public int getTcpTimeWait()

getTcpClose

public int getTcpClose()

getTcpCloseWait

public int getTcpCloseWait()

getTcpLastAck

public int getTcpLastAck()

getTcpListen

public int getTcpListen()

getTcpClosing

public int getTcpClosing()

getTcpIdle

public int getTcpIdle()

getTcpBound

public int getTcpBound()


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.