net.sf.sasl.aop.monitoring.execution.time
Class ThresholdMethodExecutionTimeWarnAspect.MessageSender
java.lang.Object
net.sf.sasl.aop.monitoring.execution.time.ThresholdMethodExecutionTimeWarnAspect.MessageSender
- All Implemented Interfaces:
- Callable<Void>
- Enclosing class:
- ThresholdMethodExecutionTimeWarnAspect
protected class ThresholdMethodExecutionTimeWarnAspect.MessageSender
- extends Object
- implements Callable<Void>
Helper class to interpret and deliver warn and recovery messages
concurrently.
- Since:
- 0.0.1 (sasl-common-aspect-library)
Method Summary |
Void |
call()
Interprets and delivers the setted warn/recovery message if it should
get delivered. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThresholdMethodExecutionTimeWarnAspect.MessageSender
public ThresholdMethodExecutionTimeWarnAspect.MessageSender(Thread senderThread,
PlaceholderScriptMessage message,
boolean isRecoveryMessage,
org.aopalliance.intercept.MethodInvocation invocation,
Object returnValue,
Throwable occuredException,
Date startDate,
Date stopDate,
MethodExecutionTimeThresholdBean thresholdConfig,
ThresholdMethodExecutionTimeWarnAspect.SendRecoveryMessageMarker sendRecoveryMessageMarker)
- Parameters:
senderThread
- non nullmessage
- non nullisRecoveryMessage
- non nullinvocation
- non nullreturnValue
- non nulloccuredException
- non nullstartDate
- non nullstopDate
- non nullthresholdConfig
- non nullsendRecoveryMessageMarker
- non null
call
public Void call()
throws Exception
- Interprets and delivers the setted warn/recovery message if it should
get delivered.
- Specified by:
call
in interface Callable<Void>
- Throws:
Exception
- Since:
- 0.0.1 (sasl-common-aspect-library)
- See Also:
Callable.call()
Copyright © 2010. All Rights Reserved.