Class EquivalenceUtils

java.lang.Object
org.apache.storm.utils.EquivalenceUtils

public class EquivalenceUtils extends Object
  • Constructor Details

    • EquivalenceUtils

      public EquivalenceUtils()
  • Method Details

    • areLocalAssignmentsEquivalent

      public static boolean areLocalAssignmentsEquivalent(LocalAssignment first, LocalAssignment second)
      Decide the equivalence of two local assignments, ignoring the order of executors This is different from #equal method.
      Parameters:
      first - Local assignment A
      second - Local assignment B
      Returns:
      True if A and B are equivalent, ignoring the order of the executors