code: public void join(Address address)
     {
        if (trace)
           log.tracef("join(%s)", address);
  
        Map<Address, Long> sr = shortRunning.get(address.getWorkManagerId());
  
        if (sr == null)
           sr = Collections.synchronizedMap(new HashMap<Address, Long>());
  
        sr.put(address, Long.valueOf(0));
        shortRunning.put(address.getWorkManagerId(), sr);
  
        Map<Address, Long> lr = longRunning.get(address.getWorkManagerId());
  
        if (lr == null)
           lr = Collections.synchronizedMap(new HashMap<Address, Long>());
  
        lr.put(address, Long.valueOf(0));
        longRunning.put(address.getWorkManagerId(), lr);
     }
docs: {@inheritDoc}