Class HostPasswordRetirementStore
java.lang.Object
ecmwf.common.database.HostPasswordRetirementStore
Durable dispatch and destruction journals; neither acknowledgement nor elapsed staging time proves delivery.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanfindAttempt(UUID id) voidClearing the previous pointer is ordered after confirmed permanent destruction, never before it.voidrecordDeliveryOutcome(HostPasswordRetirementStore.Attempt attempt, String receipt, boolean successful) voidrecordSuccessfulDelivery(HostPasswordRetirementStore.Attempt attempt, String receipt) Called only after final-Mover signature and the complete durable attempt binding have been verified.voidreserveDelivery(HostPasswordRetirementStore.Attempt attempt, HostPasswordRotationStore.ProbeHost snapshot, String endpoint, String address, int port, String login)
-
Method Details
-
reserveDelivery
public void reserveDelivery(HostPasswordRetirementStore.Attempt attempt, HostPasswordRotationStore.ProbeHost snapshot, String endpoint, String address, int port, String login) throws IOException - Throws:
IOException
-
findAttempt
- Throws:
IOException
-
acknowledgeDelivery
- Throws:
IOException
-
recordSuccessfulDelivery
public void recordSuccessfulDelivery(HostPasswordRetirementStore.Attempt attempt, String receipt) throws IOException Called only after final-Mover signature and the complete durable attempt binding have been verified.- Throws:
IOException
-
recordDeliveryOutcome
public void recordDeliveryOutcome(HostPasswordRetirementStore.Attempt attempt, String receipt, boolean successful) throws IOException - Throws:
IOException
-
dueRetirements
- Throws:
IOException
-
beginRetirement
public boolean beginRetirement(HostPasswordRetirementStore.Retirement retirement) throws IOException - Throws:
IOException
-
finishRetirement
Clearing the previous pointer is ordered after confirmed permanent destruction, never before it.- Throws:
IOException
-