Package io.namastack.springoutbox.lock
Class OutboxLockManager
-
- All Implemented Interfaces:
public final class OutboxLockManager
-
-
Constructor Summary
Constructors Constructor Description OutboxLockManager(OutboxLockRepository lockRepository, OutboxProperties properties, Clock clock)
-
Method Summary
Modifier and Type Method Description final OutboxLockacquire(String aggregateId)final Unitrelease(String aggregateId)final OutboxLockrenew(OutboxLock lock)final OutboxLockovertake(String aggregateId)-
-
Constructor Detail
-
OutboxLockManager
OutboxLockManager(OutboxLockRepository lockRepository, OutboxProperties properties, Clock clock)
-
-
Method Detail
-
acquire
final OutboxLock acquire(String aggregateId)
-
renew
final OutboxLock renew(OutboxLock lock)
-
overtake
final OutboxLock overtake(String aggregateId)
-
-
-
-