Changeset 10723 in josm for trunk


Ignore:
Timestamp:
2016-08-03T19:07:05+02:00 (8 years ago)
Author:
simon04
Message:

Fix javadoc

Location:
trunk/src/org/openstreetmap/josm/data
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/BufferedImageCacheEntry.java

    r10247 r10723  
    1111 * Cache Entry that has methods to get the BufferedImage, that will be cached along in memory
    1212 * but will be not serialized when saved to the disk (to avoid duplication of data)
     13 *
    1314 * @author Wiktor Niesiobędzki
    14  *
    1515 */
    1616public class BufferedImageCacheEntry extends CacheEntry {
  • trunk/src/org/openstreetmap/josm/data/cache/CacheEntry.java

    r8629 r10723  
    66
    77/**
    8  * @author Wiktor Niesiobędzki
    9  *
    108 * Class that will hold JCS cache entries
    119 *
     10 * @author Wiktor Niesiobędzki
    1211 */
    1312public class CacheEntry implements Serializable {
  • trunk/src/org/openstreetmap/josm/data/cache/HostLimitQueue.java

    r10608 r10723  
    1414
    1515/**
    16  * @author Wiktor Niesiobędzki
    17  *
    1816 * Queue for ThreadPoolExecutor that implements per-host limit. It will acquire a semaphore for each task
    1917 * and it will set a runnable task with semaphore release, when job has finished.
    20  *
     18 * <p>
    2119 * This implementation doesn't guarantee to have at most hostLimit connections per host[1], and it doesn't
    22  * guarantee that all threads will be busy, when there is work for them[2].
    23  *
     20 * guarantee that all threads will be busy, when there is work for them[2]. <br>
    2421 * [1] More connection per host may happen, when ThreadPoolExecutor is growing its pool, and thus
    25  *     tasks do not go through the Queue
     22 *     tasks do not go through the Queue <br>
    2623 * [2] If we have a queue, and for all hosts in queue we will fail to acquire semaphore, the thread
    2724 *     take the first available job and wait for semaphore. It might be the case, that semaphore was released
    2825 *     for some task further in queue, but this implementation doesn't try to detect such situation
    2926 *
    30  *
     27 * @author Wiktor Niesiobędzki
    3128 */
    3229public class HostLimitQueue extends LinkedBlockingDeque<Runnable> {
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCacheManager.java

    r10652 r10723  
    3333
    3434/**
    35  * @author Wiktor Niesiobędzki
    36  *
    3735 * Wrapper class for JCS Cache. Sets some sane environment and returns instances of cache objects.
    3836 * Static configuration for now assumes some small LRU cache in memory and larger LRU cache on disk
     37 *
     38 * @author Wiktor Niesiobędzki
    3939 * @since 8168
    4040 */
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java

    r10626 r10723  
    3030
    3131/**
    32  * @author Wiktor Niesiobędzki
    33  *
    34  * @param <K> cache entry key type
    35  * @param <V> cache value type
    36  *
    3732 * Generic loader for HTTP based tiles. Uses custom attribute, to check, if entry has expired
    3833 * according to HTTP headers sent with tile. If so, it tries to verify using Etags
     
    4540 * listeners will be gathered and notified, once download job will be finished
    4641 *
     42 * @param <K> cache entry key type
     43 * @param <V> cache value type
     44 * @author Wiktor Niesiobędzki
    4745 * @since 8168
    4846 */
  • trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoader.java

    r9004 r10723  
    2020
    2121/**
    22  * @author Wiktor Niesiobędzki
    23  *
    2422 * Wrapper class that bridges between JCS cache and Tile Loaders
    2523 *
     24 * @author Wiktor Niesiobędzki
    2625 */
    2726public class TMSCachedTileLoader implements TileLoader, CachedTileLoader {
  • trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoaderJob.java

    r10627 r10723  
    3535
    3636/**
     37 * Class bridging TMS requests to JCS cache requests
     38 *
    3739 * @author Wiktor Niesiobędzki
    38  *
    39  * Class bridging TMS requests to JCS cache requests
    4040 * @since 8168
    4141 */
Note: See TracChangeset for help on using the changeset viewer.