Spring Integration

org.springframework.integration.monitor
Class LifecycleMessageHandlerMonitor

java.lang.Object
  extended by org.springframework.integration.monitor.LifecycleMessageHandlerMonitor
All Implemented Interfaces:
MessageHandlerMonitor

@ManagedResource
public class LifecycleMessageHandlerMonitor
extends Object
implements MessageHandlerMonitor

Since:
2.0
Author:
Dave Syer

Constructor Summary
LifecycleMessageHandlerMonitor(Lifecycle lifecycle, MessageHandlerMonitor delegate)
           
 
Method Summary
 int getErrorCount()
           
 int getHandleCount()
           
 double getMaxDuration()
           
 double getMeanDuration()
           
 double getMinDuration()
           
 String getName()
           
 String getSource()
           
 double getStandardDeviationDuration()
           
 boolean isRunning()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleMessageHandlerMonitor

public LifecycleMessageHandlerMonitor(Lifecycle lifecycle,
                                      MessageHandlerMonitor delegate)
Method Detail

isRunning

@ManagedAttribute
public boolean isRunning()

start

@ManagedOperation
public void start()

stop

@ManagedOperation
public void stop()

getErrorCount

public int getErrorCount()
Specified by:
getErrorCount in interface MessageHandlerMonitor

getHandleCount

public int getHandleCount()
Specified by:
getHandleCount in interface MessageHandlerMonitor

getMaxDuration

public double getMaxDuration()
Specified by:
getMaxDuration in interface MessageHandlerMonitor

getMeanDuration

public double getMeanDuration()
Specified by:
getMeanDuration in interface MessageHandlerMonitor

getMinDuration

public double getMinDuration()
Specified by:
getMinDuration in interface MessageHandlerMonitor

getStandardDeviationDuration

public double getStandardDeviationDuration()
Specified by:
getStandardDeviationDuration in interface MessageHandlerMonitor

getName

public String getName()
Specified by:
getName in interface MessageHandlerMonitor

getSource

public String getSource()
Specified by:
getSource in interface MessageHandlerMonitor

Spring Integration

Copyright © 2010. All Rights Reserved.