com.twitter.common.net.monitoring
Class TrafficMonitor.TrafficInfo

java.lang.Object
  extended by com.twitter.common.net.monitoring.TrafficMonitor.TrafficInfo
Enclosing class:
TrafficMonitor<K>

public class TrafficMonitor.TrafficInfo
extends Object

Information about traffic obsserved to/from a specific host.


Method Summary
 int getConnectionCount()
           
 K getKey()
           
 long getLastActiveTimestamp()
           
 int getRequestFailureCount()
           
 int getRequestSuccessCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKey

public K getKey()

getRequestSuccessCount

public int getRequestSuccessCount()

getRequestFailureCount

public int getRequestFailureCount()

getConnectionCount

public int getConnectionCount()

getLastActiveTimestamp

public long getLastActiveTimestamp()