Class Statsd

  • All Implemented Interfaces:
    SpringServiceDaemon, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public class Statsd
    extends java.lang.Object
    implements SpringServiceDaemon

    Statsd class.

    Version:
    $Id: $
    Author:
    DJ Gregor
    • Constructor Detail

      • Statsd

        public Statsd()
    • Method Detail

      • handleReloadConfigEvent

        public void handleReloadConfigEvent​(IEvent e)

        handleReloadConfigEvent

        Parameters:
        e - a Event object.
      • start

        public void start()
                   throws java.lang.Exception

        start

        Specified by:
        start in interface SpringServiceDaemon
        Throws:
        java.lang.Exception - if any.
      • destroy

        public void destroy()
                     throws java.lang.Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        java.lang.Exception
      • unscheduleReports

        public void unscheduleReports()
                               throws java.lang.Exception

        unscheduleReports

        Throws:
        java.lang.Exception - if any.
      • runReport

        public void runReport​(ReportDefinition reportDef)
                       throws java.lang.Throwable

        runReport

        Parameters:
        reportDef - a ReportDefinition object.
        Throws:
        java.lang.Throwable - if any.
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception

        afterPropertiesSet

        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception - if any.
      • getNodeDao

        public NodeDao getNodeDao()
        Returns:
        the nodeDao
      • getTransactionTemplate

        public org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()

        getTransactionTemplate

        Returns:
        a TransactionTemplate object.
      • setReportPersister

        public void setReportPersister​(ReportPersister reportPersister)

        setReportPersister

        Parameters:
        reportPersister - a ReportPersister object.
      • getScheduler

        public org.quartz.Scheduler getScheduler()

        getScheduler

        Returns:
        a Scheduler object.
      • setScheduler

        public void setScheduler​(org.quartz.Scheduler scheduler)

        setScheduler

        Parameters:
        scheduler - a Scheduler object.
      • getFilterDao

        public FilterDao getFilterDao()

        getFilterDao

        Returns:
        a FilterDao object.
      • setEventForwarder

        public void setEventForwarder​(EventForwarder eventForwarder)

        setEventForwarder

        Parameters:
        eventForwarder - a EventForwarder object.
      • getLoggingCategory

        public static java.lang.String getLoggingCategory()
      • getReportsStarted

        public long getReportsStarted()
      • getReportsCompleted

        public long getReportsCompleted()
      • getReportsPersisted

        public long getReportsPersisted()
      • getReportRunTime

        public long getReportRunTime()