jpl.mipl.mdms.web.domain
Class ServerMetrics

java.lang.Object
  extended by jpl.mipl.mdms.web.domain.ServerMetrics

public class ServerMetrics
extends Object

Purpose: Encapsulates the various metrics associated with an FEI5 server

   Copyright 2006, California Institute of Technology.
   ALL RIGHTS RESERVED.
   U.S. Government Sponsorship acknowledge. 2006.
   
 ============================================================================
 Modification History :
 ----------------------

 Date              Who              What
 ----------------------------------------------------------------------------
 08/10/2006        Nick             Initial Release
 ============================================================================
 

Version:
$Id: ServerMetrics.java,v 1.1 2006/09/29 18:51:18 ntt Exp $
Author:
Nicholas Toole (Nicholas.T.Toole@jpl.nasa.gov)

Constructor Summary
ServerMetrics(String name)
           
 
Method Summary
 String getName()
           
 int getRemainingConnections()
           
 float getUsageRatio()
           
protected  void setAvailableConnections()
           
protected  void setUsageRatio()
           
protected  void updateCalculations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerMetrics

public ServerMetrics(String name)
Method Detail

getName

public String getName()

getUsageRatio

public float getUsageRatio()

getRemainingConnections

public int getRemainingConnections()

setUsageRatio

protected void setUsageRatio()

setAvailableConnections

protected void setAvailableConnections()

updateCalculations

protected void updateCalculations()