/** * Notify if an other peer is responsible and we should transfer data to this peer. * * @param locationKey The location key. * @param other The other peer. * @param delayed Indicates if the other peer should get notified immediately or delayed. The case * for delayed is that multiple non responsible peers may call this and a delayed call in that * case may be better. */ private void notifyOtherResponsible( final Number160 locationKey, final PeerAddress other, final boolean delayed) { for (ResponsibilityListener responsibilityListener : listeners) { responsibilityListener.otherResponsible(locationKey, other, delayed); } }