Package com.evolveum.midpoint.schema
Interface AcknowledgementSink
- All Known Subinterfaces:
AsyncUpdateEvent
,LiveSyncEvent
,SynchronizationEvent
- All Known Implementing Classes:
ContainerableProcessingRequest
,GenericProcessingRequest
,ItemProcessingRequest
,ObjectProcessingRequest
,SyncItemProcessingRequest
Denotes an object capable of receiving an acknowledge that an item was processed.
It is placed in this module and package, because it is a universal concept, with a scope
similar to
ResultHandler
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
acknowledge
(boolean release, OperationResult result) Informs the receiver that a particular item was processed (successfully or not).
-
Method Details
-
acknowledge
Informs the receiver that a particular item was processed (successfully or not).- Parameters:
release
- If true, the item can be forgotten. If false, we want to receive that item again, presumably to be reprocessed later.result
- Operation result in context of which the acknowledgement should take place. It is useful if the acknowledgement itself can take considerable time, e.g. when it involves a communication with an external party.
-