public class NoOpTargetSystemAuditMarker extends java.lang.Object implements TargetSystemAuditMarker
| Constructor and Description |
|---|
NoOpTargetSystemAuditMarker(java.lang.String targetSystemId) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearMark(java.lang.String changeId)
Removes the local audit mark for the given change identifier.
|
java.util.Set<TargetSystemAuditMark> |
listAll()
Returns all known local audit marks for the Target System.
|
void |
mark(TargetSystemAuditMark auditMark)
Creates or updates a local audit mark.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarkAppliedpublic NoOpTargetSystemAuditMarker(java.lang.String targetSystemId)
public java.util.Set<TargetSystemAuditMark> listAll()
TargetSystemAuditMarkerlistAll in interface TargetSystemAuditMarkerTargetSystemAuditMark.public void clearMark(java.lang.String changeId)
TargetSystemAuditMarker
This is a hygienic cleanup step that should be invoked after the remote Audit Store has
acknowledged the change, but not critical. It is idempotent: if no mark exists for changeId, the call
completes without error.
clearMark in interface TargetSystemAuditMarkerchangeId - the identifier of the change whose local mark should be removed.public void mark(TargetSystemAuditMark auditMark)
TargetSystemAuditMarkerImplementations should ensure this operation is idempotent. The write operation must participate in the same transaction as the Target System operation that is being confirmed.
mark in interface TargetSystemAuditMarkerauditMark - the mark to persist.