org.apache.excalibur.instrument.manager
Interface CounterInstrumentListener

All Superinterfaces:
InstrumentListener

public interface CounterInstrumentListener
extends InstrumentListener

Objects which implement the CounterInstrumentListener interface can register themselves with Instrument instances to receive updates when it is incremented.

Since:
4.1
Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:25 $
Author:
Avalon Development Team

Method Summary
 void increment(java.lang.String instrumentName, int count, long time)
          Called by a CounterInstrument whenever its value is incremented.
 

Method Detail

increment

void increment(java.lang.String instrumentName,
               int count,
               long time)
Called by a CounterInstrument whenever its value is incremented.

Parameters:
instrumentName - The name of Instrument which was incremented.
count - A positive integer to increment the counter by.
time - The time that the Instrument was incremented.


Copyright © 1997-2010 Apache Software Foundation. All Rights Reserved.