private synchronized void addEntries(Hashtable entries){
  entryDirectory.putAll(entries);
}

private synchronized void addEntries ( Hashtable entries ) { entryDirectory . putAll ( entries ) ; }
copy all the entries into the entrydirectory it will overwrite any duplicate keys .
