Skip to content

Commit d5d9f75

Browse files
authored
Fix LockRegistrty typo in the distributed-locks.adoc
1 parent 145a95b commit d5d9f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference/antora/modules/ROOT/pages/distributed-locks.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ For this purpose Java provides an API with `java.util.concurrent.locks.Lock` imp
77
However, the problem becomes more complex when an application is distributed and/or run in the cluster.
88
The 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.
1111
The `obtain(Object)` method of the `LockRegistrty` requires a `lock key` for specific context.
1212
For example, an aggregator uses a `correlationKey` to lock operations around its group.
1313
This way different locks can be used concurrently.

0 commit comments

Comments
 (0)