Class HostDifferences


  • public class HostDifferences
    extends java.lang.Object
    Tracks the differences for a single host
    • Constructor Detail

      • HostDifferences

        public HostDifferences()
    • Method Detail

      • add

        public void add​(InetAddressAndPort endpoint,
                        java.util.Collection<Range<Token>> difference)
        Adds a set of differences between the node this instance is tracking and endpoint
      • hasDifferencesFor

        public boolean hasDifferencesFor​(InetAddressAndPort node2,
                                         Range<Token> range)
        Does this instance have differences for range with node2?
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object