File tree 1 file changed +1
-1
lines changed
src/reference/antora/modules/ROOT/pages
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ For this purpose Java provides an API with `java.util.concurrent.locks.Lock` imp
7
7
However, the problem becomes more complex when an application is distributed and/or run in the cluster.
8
8
The locking in this case is challenging and requires some shared state and its specific approach to achieve the exclusivity requirement.
9
9
10
- Spring Integration provides a `LockRegistrty ` abstraction with an in-memory `DefaultLockRegistry` implementation based on the `ReentrantLock` API.
10
+ Spring Integration provides a `LockRegistry ` abstraction with an in-memory `DefaultLockRegistry` implementation based on the `ReentrantLock` API.
11
11
The `obtain(Object)` method of the `LockRegistrty` requires a `lock key` for specific context.
12
12
For example, an aggregator uses a `correlationKey` to lock operations around its group.
13
13
This way different locks can be used concurrently.
You can’t perform that action at this time.
0 commit comments