public void addClient(final HttpClient client){
  Check.notNull(client,"client");
synchronized (clientWeakReferences) {
    clientWeakReferences.add(new WeakReference(client));
  }
}

public void addClient ( final HttpClient client ) { Check . notNull ( client , "client" ) ; synchronized ( clientWeakReferences ) { clientWeakReferences . add ( new WeakReference ( client ) ) ; } }
adds a client to be monitored by this thread .
