You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.adoc
+8-4
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Distributed lock ensures your method cannot be run in parallel from multiple JVMs (cluster of servers, microservices, ...).
4
4
It uses a common store to keep track of used locks and your method needs to acquire one or more locks to run.
5
5
6
-
By default, locks follow methods lifecycle.They are obtained at the start of the method and released at the end of the method.
6
+
By default, locks follow methods lifecycle.They are obtained at the start of the method and released at the end of the method.
7
7
Manual controlling is supported and explained later in this document.
8
8
9
9
All locks acquired by lock implementations in this project will expire after 10 seconds, timeout after 1 second if unable to acquire lock and sleep for 50 ms between retries.
@@ -19,9 +19,9 @@ This will import the configuration that will autoconfigure the
19
19
20
20
Project provides the following out-of-the-box lock implementations:
21
21
22
-
* JDBC
23
-
* Mongo
24
-
* Redis
22
+
* JDBC
23
+
* Mongo
24
+
* Redis
25
25
26
26
=== JDBC locks
27
27
@@ -124,6 +124,10 @@ public class LockConfiguration {
124
124
125
125
Started tracking the changes since 1.2.0 so no changelogs available for earlier versions.
126
126
127
+
==== 1.4.0
128
+
129
+
- CHANGE: Switched back to Java 1.8 from 11 since most projects don't yet use 11
Copy file name to clipboardexpand all lines: distributed-lock-core/src/main/java/com/github/alturkovic/lock/configuration/DistributedLockConfiguration.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ public LockBeanPostProcessor lockBeanPostProcessor(final KeyGenerator keyGenerat
Copy file name to clipboardexpand all lines: distributed-lock-core/src/main/java/com/github/alturkovic/lock/interval/BeanFactoryAwareIntervalConverter.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ public long toMillis(final Interval interval) {
0 commit comments