org.springframework.integration.monitor
Class LifecycleMessageHandlerMonitor
java.lang.Object
org.springframework.integration.monitor.LifecycleMessageHandlerMonitor
- All Implemented Interfaces:
- MessageHandlerMonitor
@ManagedResource
public class LifecycleMessageHandlerMonitor
- extends Object
- implements MessageHandlerMonitor
- Since:
- 2.0
- Author:
- Dave Syer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleMessageHandlerMonitor
public LifecycleMessageHandlerMonitor(Lifecycle lifecycle,
MessageHandlerMonitor delegate)
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
Copyright © 2010. All Rights Reserved.