Uses of Class
net.javacrumbs.shedlock.core.LockConfiguration
| Package | Description |
|---|---|
| net.javacrumbs.shedlock.core | |
| net.javacrumbs.shedlock.support |
-
Uses of LockConfiguration in net.javacrumbs.shedlock.core
Fields in net.javacrumbs.shedlock.core declared as LockConfiguration Modifier and Type Field Description protected LockConfigurationAbstractSimpleLock. lockConfigurationMethods in net.javacrumbs.shedlock.core that return types with arguments of type LockConfiguration Modifier and Type Method Description Optional<LockConfiguration>LockConfigurationExtractor. getLockConfiguration(Runnable task)Methods in net.javacrumbs.shedlock.core with parameters of type LockConfiguration Modifier and Type Method Description protected Optional<SimpleLock>AbstractSimpleLock. doExtend(LockConfiguration newConfiguration)voidDefaultLockingTaskExecutor. executeWithLock(Runnable task, LockConfiguration lockConfig)voidDefaultLockingTaskExecutor. executeWithLock(LockingTaskExecutor.Task task, LockConfiguration lockConfig)<T> LockingTaskExecutor.TaskResult<T>DefaultLockingTaskExecutor. executeWithLock(LockingTaskExecutor.TaskWithResult<T> task, LockConfiguration lockConfig)voidLockingTaskExecutor. executeWithLock(Runnable task, LockConfiguration lockConfig)Executes task if it's not already running.voidLockingTaskExecutor. executeWithLock(LockingTaskExecutor.Task task, LockConfiguration lockConfig)default <T> LockingTaskExecutor.TaskResult<T>LockingTaskExecutor. executeWithLock(LockingTaskExecutor.TaskWithResult<T> task, LockConfiguration lockConfig)Executes task.Optional<SimpleLock>LockProvider. lock(LockConfiguration lockConfiguration)Constructors in net.javacrumbs.shedlock.core with parameters of type LockConfiguration Constructor Description AbstractSimpleLock(LockConfiguration lockConfiguration) -
Uses of LockConfiguration in net.javacrumbs.shedlock.support
Methods in net.javacrumbs.shedlock.support with parameters of type LockConfiguration Modifier and Type Method Description protected booleanStorageBasedLockProvider. doLock(LockConfiguration lockConfiguration)Sets lockUntil according to LockConfiguration if current lockUntil <= nowdefault booleanStorageAccessor. extend(LockConfiguration lockConfiguration)booleanStorageAccessor. insertRecord(LockConfiguration lockConfiguration)Inserts a record, if it does not already exists.Optional<SimpleLock>KeepAliveLockProvider. lock(LockConfiguration lockConfiguration)Optional<SimpleLock>StorageBasedLockProvider. lock(LockConfiguration lockConfiguration)voidStorageAccessor. unlock(LockConfiguration lockConfiguration)booleanStorageAccessor. updateRecord(LockConfiguration lockConfiguration)Tries to update the lock record.