protected int size() {return ack_collector.size();} protected void block(long timeout) throws TimeoutException {ack_collector.waitForAllAcks(timeout);}
Entry val=entry.getValue(); long age=TimeUnit.MILLISECONDS.convert(System.nanoTime() - val.timestamp, TimeUnit.NANOSECONDS); if(age >= timeout || val.ack_collector.size() == 0) { if(age >= timeout) log.warn(Util.getMessage("RSVP_Timeout"), entry);
if(gms.flushProtocolInStack) { gms.merge_ack_collector.reset(coords); size=gms.merge_ack_collector.size();
sendJoinResponses(jr, joiners); try { if(ack_collector.size() > 0) { ack_collector.waitForAllAcks(view_ack_collection_timeout); log.trace("%s: got all ACKs (%d) for view %s in %d ms", log.warn("%s: failed to collect all ACKs (expected=%d) for view %s after %dms, missing %d ACKs from %s", local_addr, ack_collector.expectedAcks(), new_view.getViewId(), view_ack_collection_timeout, ack_collector.size(), ack_collector.printMissing());
protected int size() {return ack_collector.size();} protected void block(long timeout) throws TimeoutException {ack_collector.waitForAllAcks(timeout);}
Entry val=entry.getValue(); long age=TimeUnit.MILLISECONDS.convert(System.nanoTime() - val.timestamp, TimeUnit.NANOSECONDS); if(age >= timeout || val.ack_collector.size() == 0) { if(age >= timeout) log.warn(Util.getMessage("RSVP_Timeout"), entry);
size=ack_collector.size();
if(gms.flushProtocolInStack) { gms.merge_ack_collector.reset(coords); size=gms.merge_ack_collector.size();
sendJoinResponses(jr, joiners); try { if(ack_collector.size() > 0) { ack_collector.waitForAllAcks(view_ack_collection_timeout); log.trace("%s: got all ACKs (%d) for view %s in %d ms", log.warn("%s: failed to collect all ACKs (expected=%d) for view %s after %dms, missing %d ACKs from %s", local_addr, ack_collector.expectedAcks(), new_view.getViewId(), view_ack_collection_timeout, ack_collector.size(), ack_collector.printMissing());