ANTS v2.0 API

ants.core
Class NodeStat

java.lang.Object
  |
  +--ants.core.NodeStat

public class NodeStat
extends java.lang.Object

The NodeStat class is used to store statistics for an entire node.

Author:
Utah Janos Team

Field Summary
static int AVG_PACKETS_PER_SECOND
           
static int MAX_PACKETS_PER_SECOND
           
static int PACKETS_RECEIVED
           
static int PACKETS_SENT
           
static int STARTUP_TIME
           
static int STAT_MAX
           
 
Method Summary
 double getStat(int index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STARTUP_TIME

public static final int STARTUP_TIME

PACKETS_RECEIVED

public static final int PACKETS_RECEIVED

PACKETS_SENT

public static final int PACKETS_SENT

AVG_PACKETS_PER_SECOND

public static final int AVG_PACKETS_PER_SECOND

MAX_PACKETS_PER_SECOND

public static final int MAX_PACKETS_PER_SECOND

STAT_MAX

public static final int STAT_MAX
Method Detail

getStat

public double getStat(int index)
Parameters:
index - The statistic to retrieve.
Returns:
The value of the specified statistic.

ANTS v2.0 API

This documentation is Copyright (C) 1998-2001 The University of Utah and the University of Washington. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for ANTS v2.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/