springs.context
Class ContextManagerStatistics

java.lang.Object
  |
  +--springs.context.ContextManagerStatistics

public class ContextManagerStatistics
extends java.lang.Object

A class that stores statistics collected by a ContextManager.

Author:
Sergio Ilarri Artigas

Field Summary
private  java.lang.String _agentCreation
           
private  java.lang.String _getReference
           
private  long _maxMillisAgentCreation
           
private  long _maxMillisGetReference
           
private  long _maxMillisUpdateReference
           
private  long _maxSimultaneousAgentCreations
           
private  long _maxSimultaneousGetReferences
           
private  long _maxSimultaneousUpdateReferences
           
private  long _numAgentCreations
           
private  long _numGetReferences
           
private  long _numUpdateReferences
           
private  long _simultaneousAgentCreations
           
private  long _simultaneousGetReferences
           
private  long _simultaneousUpdateReferences
           
private  long _totalMillisAgentCreation
           
private  long _totalMillisGetReference
           
private  long _totalMillisUpdateReference
           
private  java.lang.String _updateReference
           
 
Constructor Summary
ContextManagerStatistics()
           
 
Method Summary
 void beginAgentCreation()
           
 void beginGetReference()
           
 void beginUpdateReference()
           
 void endAgentCreation(long millisLatency)
           
 void endGetReference(long millisLatency)
           
 void endUpdateReference(long millisLatency)
           
 void printStatistics()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_numAgentCreations

private long _numAgentCreations

_maxSimultaneousAgentCreations

private long _maxSimultaneousAgentCreations

_simultaneousAgentCreations

private long _simultaneousAgentCreations

_totalMillisAgentCreation

private long _totalMillisAgentCreation

_maxMillisAgentCreation

private long _maxMillisAgentCreation

_agentCreation

private java.lang.String _agentCreation

_numGetReferences

private long _numGetReferences

_maxSimultaneousGetReferences

private long _maxSimultaneousGetReferences

_simultaneousGetReferences

private long _simultaneousGetReferences

_totalMillisGetReference

private long _totalMillisGetReference

_maxMillisGetReference

private long _maxMillisGetReference

_getReference

private java.lang.String _getReference

_numUpdateReferences

private long _numUpdateReferences

_maxSimultaneousUpdateReferences

private long _maxSimultaneousUpdateReferences

_simultaneousUpdateReferences

private long _simultaneousUpdateReferences

_totalMillisUpdateReference

private long _totalMillisUpdateReference

_maxMillisUpdateReference

private long _maxMillisUpdateReference

_updateReference

private java.lang.String _updateReference
Constructor Detail

ContextManagerStatistics

public ContextManagerStatistics()
Method Detail

beginAgentCreation

public void beginAgentCreation()

endAgentCreation

public void endAgentCreation(long millisLatency)

beginGetReference

public void beginGetReference()

endGetReference

public void endGetReference(long millisLatency)

beginUpdateReference

public void beginUpdateReference()

endUpdateReference

public void endUpdateReference(long millisLatency)

printStatistics

public void printStatistics()