Package com.evolveum.midpoint.schema
Interface AcknowledgementSink
- 
- All Known Subinterfaces:
 AsyncUpdateEvent,LiveSyncEvent,SynchronizationEvent
- All Known Implementing Classes:
 ContainerableProcessingRequest,GenericProcessingRequest,ItemProcessingRequest,ObjectProcessingRequest,SyncItemProcessingRequest
@Experimental public interface AcknowledgementSink
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 toResultHandler. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidacknowledge(boolean release, OperationResult result)Informs the receiver that a particular item was processed (successfully or not). 
 - 
 
- 
- 
Method Detail
- 
acknowledge
void acknowledge(boolean release, OperationResult result)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.
 
 - 
 
 -