org.mule.management.stats
Class DefaultProcessingTimeWatcher

java.lang.Object
  extended by org.mule.management.stats.DefaultProcessingTimeWatcher
All Implemented Interfaces:
MuleContextAware, Startable, Stoppable, ProcessingTimeWatcher

public class DefaultProcessingTimeWatcher
extends Object
implements ProcessingTimeWatcher, MuleContextAware


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Constructor Summary
DefaultProcessingTimeWatcher()
           
 
Method Summary
 void addProcessingTime(ProcessingTime processingTime)
          Adds a new instance to watch
 void setMuleContext(MuleContext muleContext)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProcessingTimeWatcher

public DefaultProcessingTimeWatcher()
Method Detail

addProcessingTime

public void addProcessingTime(ProcessingTime processingTime)
Description copied from interface: ProcessingTimeWatcher
Adds a new instance to watch

Specified by:
addProcessingTime in interface ProcessingTimeWatcher
Parameters:
processingTime - instance to add. Non null

start

public void start()
           throws MuleException
Specified by:
start in interface Startable
Throws:
MuleException

stop

public void stop()
          throws MuleException
Specified by:
stop in interface Stoppable
Throws:
MuleException

setMuleContext

public void setMuleContext(MuleContext muleContext)
Specified by:
setMuleContext in interface MuleContextAware


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.