Interface SynchronizationStatisticsCollector

All Known Implementing Classes:
SynchronizationStatisticsCollectorImpl

public interface SynchronizationStatisticsCollector
TODO
  • Method Details

    • onSynchronizationStart

      void onSynchronizationStart(@Nullable @Nullable String processingIdentifier, @Nullable @Nullable String shadowOid, @Nullable @Nullable SynchronizationSituationType situation)
      Called when a situation was determined right before a synchronization takes place. We assume that we have a shadow with OID by that time. (If the OID is null we ignore further synchronization situation updates.)
    • onSynchronizationExclusion

      void onSynchronizationExclusion(@Nullable @Nullable String processingIdentifier, @NotNull @NotNull SynchronizationExclusionReasonType exclusionReason)
      Informs the task that no synchronization will take place. Note that in theory it is possible that onSynchronizationStart(String, String, SynchronizationSituationType) is called first.
    • onSynchronizationSituationChange

      void onSynchronizationSituationChange(@Nullable @Nullable String processingIdentifier, @Nullable @Nullable String shadowOid, @Nullable @Nullable SynchronizationSituationType situation)
      Informs the task that sync situation has changed for given shadow OID. There could be more such changes. But we are interested in the last one. If the shadow OID is null, we ignore such updates.
    • stop

      void stop(@NotNull @NotNull QualifiedItemProcessingOutcomeType outcome)
      Records the synchronization-related information into the statistics. Stops the watching.