类 ScheduledMethodRunnable
java.lang.Object
cn.taketoday.scheduling.support.ScheduledMethodRunnable
- 所有已实现的接口:
Runnable
Variant of
MethodInvokingRunnable meant to be used for processing
of no-arg scheduled methods. Propagates user exceptions to the caller,
assuming that an error strategy for Runnables is in place.- 作者:
- Juergen Hoeller
- 另请参阅:
-
构造器概要
构造器构造器说明ScheduledMethodRunnable(Object target, Method method) Create aScheduledMethodRunnablefor the given target instance, calling the specified method.ScheduledMethodRunnable(Object target, String methodName) Create aScheduledMethodRunnablefor the given target instance, calling the specified method by name. -
方法概要
-
构造器详细资料
-
ScheduledMethodRunnable
Create aScheduledMethodRunnablefor the given target instance, calling the specified method.- 参数:
target- the target instance to call the method onmethod- the target method to call
-
ScheduledMethodRunnable
Create aScheduledMethodRunnablefor the given target instance, calling the specified method by name.- 参数:
target- the target instance to call the method onmethodName- the name of the target method- 抛出:
NoSuchMethodException- if the specified method does not exist
-
-
方法详细资料