log.debugf("Finished adding inbound state transfer for segments %s of cache %s", segments, cacheName);
}
private void findSources(Set<Integer> segments, Map<Address, Set<Integer>> sources, Set<Address> excludedSources) {
for (Integer segmentId : segments) {
Address source = findSource(segmentId, excludedSources);
// ignore all segments for which there are no other owners to pull data from.
// these segments are considered empty (or lost) and do not require a state transfer
if (source != null) {
Set<Integer> segmentsFromSource = sources.get(source);
if (segmentsFromSource == null) {