net.java.dev.moskito.core.logging
Class IntervalStatsLogger

java.lang.Object
  extended by net.java.dev.moskito.core.logging.IntervalStatsLogger
All Implemented Interfaces:
IIntervalListener

public class IntervalStatsLogger
extends Object
implements IIntervalListener


Field Summary
private  String id
           
private  Interval interval
           
private  ILogOutput output
           
private  IStatsProducer target
           
 
Constructor Summary
IntervalStatsLogger(IStatsProducer aTarget, Interval aInterval, ILogOutput anOutput)
           
 
Method Summary
 void intervalUpdated(Interval caller)
          This method will be called if the time of the given Interval was elapsed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private IStatsProducer target

interval

private Interval interval

output

private ILogOutput output

id

private String id
Constructor Detail

IntervalStatsLogger

public IntervalStatsLogger(IStatsProducer aTarget,
                           Interval aInterval,
                           ILogOutput anOutput)
Method Detail

intervalUpdated

public void intervalUpdated(Interval caller)
Description copied from interface: IIntervalListener
This method will be called if the time of the given Interval was elapsed.

Specified by:
intervalUpdated in interface IIntervalListener
Parameters:
caller - The Interval that calls this method


Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework