Class DefaultDeltaSummary

java.lang.Object
com.helixframework.delta.internal.DefaultDeltaSummary
All Implemented Interfaces:
DeltaSummary

public final class DefaultDeltaSummary extends Object implements DeltaSummary
  • Constructor Details

    • DefaultDeltaSummary

      public DefaultDeltaSummary(boolean changed, int changeCount, int addedCount, int removedCount, int replacedCount)
  • Method Details

    • changed

      public boolean changed()
      Description copied from interface: DeltaSummary
      Returns whether any changes were detected.
      Specified by:
      changed in interface DeltaSummary
      Returns:
      true when documents differ
    • changeCount

      public int changeCount()
      Description copied from interface: DeltaSummary
      Returns the total number of atomic changes.
      Specified by:
      changeCount in interface DeltaSummary
      Returns:
      total change count
    • addedCount

      public int addedCount()
      Description copied from interface: DeltaSummary
      Returns the number of add operations.
      Specified by:
      addedCount in interface DeltaSummary
      Returns:
      added count
    • removedCount

      public int removedCount()
      Description copied from interface: DeltaSummary
      Returns the number of remove operations.
      Specified by:
      removedCount in interface DeltaSummary
      Returns:
      removed count
    • replacedCount

      public int replacedCount()
      Description copied from interface: DeltaSummary
      Returns the number of replace operations.
      Specified by:
      replacedCount in interface DeltaSummary
      Returns:
      replaced count