Package net.finmath.pontes.erc7573
Interface PontesPaymentClaimStore
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
FilePontesPaymentClaimStore,InMemoryPontesPaymentClaimStore
Durable, compare-and-set store keyed by the Pontes XvP transaction UUID.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()createIfAbsent(PontesPaymentClaim claim) Atomically creates the claim, or returns the already existing claim.default voidsave(PontesPaymentClaim claim) voidsaveIfVersion(PontesPaymentClaim claim, long expectedVersion)
-
Method Details
-
find
- Throws:
IOException
-
createIfAbsent
Atomically creates the claim, or returns the already existing claim.- Throws:
IOException
-
saveIfVersion
- Throws:
IOException
-
save
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-