springs.util
Class StatisticsSockets

java.lang.Object
  |
  +--springs.util.StatisticsSockets

public class StatisticsSockets
extends java.lang.Object

A class that stores statistics about sockets.

Author:
Sergio Ilarri Artigas

Field Summary
private  long _maxSimultaneousClosedSockets
           
private  long _maxSimultaneousCreatedSockets
           
private  long _numBytesReceived
           
private  long _numBytesTransmitted
           
private  long _numClosedSockets
           
private  long _numCreatedSockets
           
private  java.lang.String _socketClosing
           
private  java.lang.String _socketCreation
           
 
Constructor Summary
StatisticsSockets()
           
 
Method Summary
 void printStatistics()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_numCreatedSockets

private long _numCreatedSockets

_maxSimultaneousCreatedSockets

private long _maxSimultaneousCreatedSockets

_socketCreation

private java.lang.String _socketCreation

_numClosedSockets

private long _numClosedSockets

_maxSimultaneousClosedSockets

private long _maxSimultaneousClosedSockets

_socketClosing

private java.lang.String _socketClosing

_numBytesTransmitted

private long _numBytesTransmitted

_numBytesReceived

private long _numBytesReceived
Constructor Detail

StatisticsSockets

public StatisticsSockets()
Method Detail

printStatistics

public void printStatistics()