Class InMemoryTryLockRepository
java.lang.Object
se.swedenconnect.bankid.idp.concurrency.InMemoryTryLockRepository
- All Implemented Interfaces:
TryLockRepository
In-memory
TryLockRepository
.
This class is not intended for production use.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
InMemoryTryLockRepository
public InMemoryTryLockRepository()Default constructor.
-
-
Method Details
-
get
Locking repository responsible for providing locks by key.- Specified by:
get
in interfaceTryLockRepository
- Parameters:
key
- unique identifier for the lock- Returns:
- a lock
-