Class PhaseStatistic

java.lang.Object
org.forgerock.openidm.sync.impl.PhaseStatistic

public class PhaseStatistic extends Object
Holds the (source/target) Phase specific statistics
  • Constructor Details

  • Method Details

    • processed

      public void processed(String sourceId, String targetId, boolean linkExisted, String linkId, boolean linkCreated, org.forgerock.openidm.sync.impl.Situation situation, ReconAction action)
      Handle the processed notification to update the statistics appropriately
      Parameters:
      sourceId - The source id processed, or null if none
      targetId - The target id processed, or null if none
      linkExisted - indication if the link existed before the operation
      linkId - the link identifier, if available. For created links this may not currently be available.
      linkCreated - indication if a new link was created during the operation
      situation - the assessed situation
      action - the action that was processed
    • addNotValid

      public void addNotValid(String id)
    • getProcessed

      public long getProcessed()
    • asMap

      public Map<String,Object> asMap()
    • updateSummary

      public void updateSummary(Map<String,Integer> simpleSummary)