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

HostStatistics (Various API) - JBoss 4.0.1 sp1 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.3 $
Author:
Thomas Peuss

Constructor Summary
HostStatistics()
           
 
Method Summary
 void addRequest(int responseTime)
           
 void decCurrentConnections()
           
 int getAvgResponseTime()
           
 int getCurrentConnections()
           
 long getNumRequests()
           
 long getSumResponseTime()
           
 void incCurrentConnections()
           
 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 long getNumRequests()

getSumResponseTime

public long getSumResponseTime()

getCurrentConnections

public int getCurrentConnections()

incCurrentConnections

public void incCurrentConnections()

decCurrentConnections

public void decCurrentConnections()

toString

public String toString()


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