Package net.javacrumbs.shedlock.core
Class LockConfiguration
- java.lang.Object
-
- net.javacrumbs.shedlock.core.LockConfiguration
-
public class LockConfiguration extends Object
Lock configuration.
-
-
Constructor Summary
Constructors Constructor Description LockConfiguration(@NotNull String name, @NotNull Instant lockAtMostUntil)LockConfiguration(@NotNull String name, @NotNull Instant lockAtMostUntil, @NotNull Instant lockAtLeastUntil)
-
Method Summary
Modifier and Type Method Description InstantgetLockAtLeastUntil()InstantgetLockAtMostUntil()StringgetName()InstantgetUnlockTime()Returns either now or lockAtLeastUntil whichever is later.StringtoString()
-