Interface LiveSyncEventHandler

All Superinterfaces:
SynchronizationEventHandler<LiveSyncEvent>

@Experimental public interface LiveSyncEventHandler extends SynchronizationEventHandler<LiveSyncEvent>
Handles changes retrieved by ProvisioningService#synchronize(ResourceShadowCoordinates, LiveSyncOptions, LiveSyncTokenStorage, LiveSyncEventHandler, Task, OperationResult) method.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when no more events are to be expected during the current synchronization operation.

    Methods inherited from interface com.evolveum.midpoint.provisioning.api.SynchronizationEventHandler

    handle
  • Method Details

    • allEventsSubmitted

      void allEventsSubmitted(OperationResult result)
      Invoked when no more events are to be expected during the current synchronization operation. The typical reasons are: no more livesync changes, or the task was suspended, or the event handler signalled to stop the processing. Should do necessary cleanup, e.g. wait for workers to finish. All requests should be acknowledged (positively or negatively) when this method returns. Should not throw an exception.