File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/reference/antora/modules/ROOT/pages Expand file tree Collapse file tree 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
77However, the problem becomes more complex when an application is distributed and/or run in the cluster.
88The locking in this case is challenging and requires some shared state and its specific approach to achieve the exclusivity requirement.
99
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.
1111The `obtain(Object)` method of the `LockRegistrty` requires a `lock key` for specific context.
1212For example, an aggregator uses a `correlationKey` to lock operations around its group.
1313This way different locks can be used concurrently.
You can’t perform that action at this time.
0 commit comments