Package io.namastack.springoutbox.lock
Interface OutboxLockRepository
-
- All Implemented Interfaces:
public interface OutboxLockRepository
-
-
Method Summary
Modifier and Type Method Description abstract OutboxLockfindByAggregateId(String aggregateId)abstract OutboxLockinsertNew(OutboxLock lock)abstract OutboxLockrenew(String aggregateId, OffsetDateTime expiresAt)abstract UnitdeleteById(String aggregateId)-
-
Method Detail
-
findByAggregateId
abstract OutboxLock findByAggregateId(String aggregateId)
-
insertNew
abstract OutboxLock insertNew(OutboxLock lock)
-
renew
abstract OutboxLock renew(String aggregateId, OffsetDateTime expiresAt)
-
deleteById
abstract Unit deleteById(String aggregateId)
-
-
-
-