Verified Commit 29e6da83 authored by Martin Raifer's avatar Martin Raifer
Browse files

remove broken link in javadoc

parent f60f54a9
......@@ -19,14 +19,13 @@ public class UserNameResolver {
private final PreparedStatement userPs;
/**
* This class works as a cache (like
* {@link org.heigit.bigspatialdata.oshdb.util.tagtranslator.TagTranslator}). The user is first
* searched in the local cache. If not present the sql-database is queried and results are added
* to the cache. By using a ConcurrentHashMap internally, this class is threadsafe. The idea is to
* have one instance (cache) in your program to gain maximum speed and prevent overuse of the
* SQL-db. Attention: The UserDatabase is minutely updated but the cache isn't. So subsequent
* calls to this Class for the same ID will always return the same result. If you want to update
* the cache you will have to create a new instance.
* This class works as a cache. The user is first searched in the local cache. If not present
* the sql-database is queried and results are added to the cache. By using a ConcurrentHashMap
* internally, this class is threadsafe. The idea is to have one instance (cache) in your
* program to gain maximum speed and prevent overuse of the SQL-db. Attention: The UserDatabase
* is minutely updated but the cache isn't. So subsequent calls to this Class for the same ID
* will always return the same result. If you want to update the cache you will have to create a
* new instance.
*
* @param conn The connection to the ohsome-whosthat postgres-database.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment