Class LockableTaskScheduler
java.lang.Object
net.javacrumbs.shedlock.spring.LockableTaskScheduler
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.scheduling.TaskScheduler
@Deprecated(forRemoval=true)
public class LockableTaskScheduler
extends Object
implements org.springframework.scheduling.TaskScheduler, org.springframework.beans.factory.DisposableBean
Deprecated, for removal: This API element is subject to removal in a future version.
Use AOP based locking
Wraps a all tasks to
LockableRunnable and delegates all calls to a
TaskScheduler.-
Constructor Summary
ConstructorsConstructorDescriptionLockableTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler, net.javacrumbs.shedlock.core.LockManager lockManager) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.@Nullable ScheduledFuture<?> Deprecated, for removal: This API element is subject to removal in a future version.scheduleAtFixedRate(Runnable task, long period) Deprecated, for removal: This API element is subject to removal in a future version.scheduleAtFixedRate(Runnable task, Duration period) Deprecated, for removal: This API element is subject to removal in a future version.scheduleAtFixedRate(Runnable task, Instant startTime, Duration period) Deprecated, for removal: This API element is subject to removal in a future version.scheduleAtFixedRate(Runnable task, Date startTime, long period) Deprecated, for removal: This API element is subject to removal in a future version.scheduleWithFixedDelay(Runnable task, long delay) Deprecated, for removal: This API element is subject to removal in a future version.scheduleWithFixedDelay(Runnable task, Duration delay) Deprecated, for removal: This API element is subject to removal in a future version.scheduleWithFixedDelay(Runnable task, Instant startTime, Duration delay) Deprecated, for removal: This API element is subject to removal in a future version.scheduleWithFixedDelay(Runnable task, Date startTime, long delay) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.scheduling.TaskScheduler
getClock
-
Constructor Details
-
LockableTaskScheduler
public LockableTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler, net.javacrumbs.shedlock.core.LockManager lockManager) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
schedule
public @Nullable ScheduledFuture<?> schedule(Runnable task, org.springframework.scheduling.Trigger trigger) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
schedulein interfaceorg.springframework.scheduling.TaskScheduler
-
schedule
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
schedulein interfaceorg.springframework.scheduling.TaskScheduler
-
scheduleAtFixedRate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scheduleAtFixedRatein interfaceorg.springframework.scheduling.TaskScheduler
-
scheduleAtFixedRate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scheduleAtFixedRatein interfaceorg.springframework.scheduling.TaskScheduler
-
scheduleWithFixedDelay
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scheduleWithFixedDelayin interfaceorg.springframework.scheduling.TaskScheduler
-
scheduleWithFixedDelay
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scheduleWithFixedDelayin interfaceorg.springframework.scheduling.TaskScheduler
-
schedule
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
schedulein interfaceorg.springframework.scheduling.TaskScheduler
-
scheduleAtFixedRate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scheduleAtFixedRatein interfaceorg.springframework.scheduling.TaskScheduler
-
scheduleAtFixedRate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scheduleAtFixedRatein interfaceorg.springframework.scheduling.TaskScheduler
-
scheduleWithFixedDelay
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scheduleWithFixedDelayin interfaceorg.springframework.scheduling.TaskScheduler
-
scheduleWithFixedDelay
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scheduleWithFixedDelayin interfaceorg.springframework.scheduling.TaskScheduler
-
destroy
-