Package org.shoulder.monitor.concurrent
Class DefaultMonitorableCallable<V>
java.lang.Object
org.shoulder.core.concurrent.enhance.EnhancedCallable<V>
org.shoulder.monitor.concurrent.DefaultMonitorableCallable<V>
- All Implemented Interfaces:
Callable<V>,MonitorableRunnable
public class DefaultMonitorableCallable<V>
extends EnhancedCallable<V>
implements MonitorableRunnable
可监控的任务
任务(Runnable)为监控指标添加(任务名)标签
- Author:
- lym
-
Field Summary
Fields inherited from class org.shoulder.core.concurrent.enhance.EnhancedCallable
delegate -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.shoulder.core.concurrent.enhance.EnhancedCallable
addDecorator, as, call, getDecorators, getOrigin, isInstanceOfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.shoulder.monitor.concurrent.MonitorableRunnable
getEnqueueTime, getRunnableId, getTaskName, getWaitInQueueDuration, setEnqueueTime, setWaitInQueueDuration
-
Constructor Details
-
DefaultMonitorableCallable
-