org.jumpmind.symmetric.statistic
Class StatisticManager

java.lang.Object
  extended by org.jumpmind.symmetric.statistic.StatisticManager
All Implemented Interfaces:
IStatisticManager

public class StatisticManager
extends java.lang.Object
implements IStatisticManager


Constructor Summary
StatisticManager()
           
 
Method Summary
 void flush()
           
 Statistic getStatistic(StatisticName statisticName)
           
 void init()
           
protected  void publishAlerts()
          Compare the statistics we have cached against the configured statistic alert thresholds and publish alerts if we fall outside the range.
protected  void refresh(java.util.Date lastCaptureEndTime)
           
 void setNodeService(INodeService nodeService)
           
 void setNotificationService(INotificationService notificationService)
           
 void setParameterService(IParameterService parameterService)
           
 void setStatisticService(IStatisticService statisticService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticManager

public StatisticManager()
Method Detail

init

public void init()

flush

public void flush()
Specified by:
flush in interface IStatisticManager

publishAlerts

protected void publishAlerts()
Compare the statistics we have cached against the configured statistic alert thresholds and publish alerts if we fall outside the range.


refresh

protected void refresh(java.util.Date lastCaptureEndTime)

getStatistic

public Statistic getStatistic(StatisticName statisticName)
Specified by:
getStatistic in interface IStatisticManager

setNodeService

public void setNodeService(INodeService nodeService)

setStatisticService

public void setStatisticService(IStatisticService statisticService)

setNotificationService

public void setNotificationService(INotificationService notificationService)

setParameterService

public void setParameterService(IParameterService parameterService)


Copyright © 2007-2008. All Rights Reserved.