protected SenderEntry getSenderEntry(Address dst) { SenderEntry entry=send_table.get(dst); if(entry == null || entry.state() == State.CLOSED) { if(entry != null) send_table.remove(dst, entry); entry=new SenderEntry(getNewConnectionId()); SenderEntry existing=send_table.putIfAbsent(dst, entry); if(existing != null) entry=existing; else { log.trace("%s: created sender window for %s (conn-id=%s)", local_addr, dst, entry.connId()); if(cache != null && !members.contains(dst)) cache.add(dst); } } if(entry.state() == State.CLOSING) entry.state(State.OPEN); return entry; }
protected SenderEntry getSenderEntry(Address dst) { SenderEntry entry=send_table.get(dst); if(entry == null || entry.state() == State.CLOSED) { if(entry != null) send_table.remove(dst, entry); entry=new SenderEntry(getNewConnectionId()); SenderEntry existing=send_table.putIfAbsent(dst, entry); if(existing != null) entry=existing; else { log.trace("%s: created sender window for %s (conn-id=%s)", local_addr, dst, entry.connId()); if(cache != null && !members.contains(dst)) cache.add(dst); } } if(entry.state() == State.CLOSING) entry.state(State.OPEN); return entry; }
protected SenderEntry getSenderEntry(Address dst) { SenderEntry entry=send_table.get(dst); if(entry == null || entry.state() == State.CLOSED) { if(entry != null) send_table.remove(dst, entry); entry=new SenderEntry(getNewConnectionId()); SenderEntry existing=send_table.putIfAbsent(dst, entry); if(existing != null) entry=existing; else { log.trace("%s: created sender window for %s (conn-id=%s)", local_addr, dst, entry.connId()); if(cache != null && !members.contains(dst)) cache.add(dst); } } if(entry.state() == State.CLOSING) entry.state(State.OPEN); return entry; }
log.trace(local_addr + ": created sender window for " + dst + " (conn-id=" + entry.send_conn_id + ")"); if(cache != null && !members.contains(dst)) cache.add(dst);
log.trace(local_addr + ": created connection to " + dst + " (conn_id=" + entry.send_conn_id + ")"); if(cache != null && !members.contains(dst)) cache.add(dst);
log.trace(local_addr + ": created sender window for " + dst + " (conn-id=" + entry.send_conn_id + ")"); if(cache != null && !members.contains(dst)) cache.add(dst);
log.trace(local_addr + ": created connection to " + dst + " (conn_id=" + entry.send_conn_id + ")"); if(cache != null && !members.contains(dst)) cache.add(dst);
log.trace(local_addr + ": created sender window for " + dst + " (conn-id=" + entry.send_conn_id + ")"); if(cache != null && !members.contains(dst)) cache.add(dst);
log.trace(local_addr + ": created connection to " + dst + " (conn_id=" + entry.send_conn_id + ")"); if(cache != null && !members.contains(dst)) cache.add(dst);