站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 varia API Documentation 英文版文档

HostStatistics (Various API) - JBoss 3.2.7 varia API Documentation 英文版文档


org.jboss.web.loadbalancer.scheduler
Class HostStatistics

java.lang.Object
  extended byorg.jboss.web.loadbalancer.scheduler.HostStatistics

public class HostStatistics
extends Object

This class holds statistics for a node.

Version:
$Revision: 1.1.2.1 $
Author:
Thomas Peuss

Constructor Summary
HostStatistics()
           
 
Method Summary
 void addRequest(int responseTime)
           
 int getAvgResponseTime()
           
 int getNumRequests()
           
 long getSumResponseTime()
           
 void reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostStatistics

public HostStatistics()
Method Detail

addRequest

public void addRequest(int responseTime)

reset

public void reset()

getAvgResponseTime

public int getAvgResponseTime()

getNumRequests

public int getNumRequests()

getSumResponseTime

public long getSumResponseTime()

toString

public String toString()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.