public class DifferenceHolder
extends java.lang.Object
Constructor and Description |
---|
DifferenceHolder(java.util.List<TreeResponse> trees) |
Modifier and Type | Method and Description |
---|---|
HostDifferences |
get(InetAddressAndPort hostWithDifference) |
boolean |
hasDifferenceBetween(InetAddressAndPort node1,
InetAddressAndPort node2,
Range<Token> range) |
java.util.Set<InetAddressAndPort> |
keyHosts()
differences only holds one 'side' of the difference - if A and B mismatch, only A will be a key in the map
|
java.lang.String |
toString() |
public DifferenceHolder(java.util.List<TreeResponse> trees)
public java.util.Set<InetAddressAndPort> keyHosts()
public HostDifferences get(InetAddressAndPort hostWithDifference)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean hasDifferenceBetween(InetAddressAndPort node1, InetAddressAndPort node2, Range<Token> range)
Copyright © 2009-2022 The Apache Software Foundation