org.openstreetmap.josm.plugins.streetside.cache

## Class Caches.CacheProxy<K,V extends java.io.Serializable>

- java.lang.Object
- - org.openstreetmap.josm.plugins.streetside.cache.Caches.CacheProxy<K,V>

- Direct Known Subclasses:
    Caches.MapObjectIconCache, Caches.UserProfileCache
  Enclosing class:
    Caches

      public abstract static class Caches.CacheProxy<K,V extends java.io.Serializable>
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private org.apache.commons.jcs.access.CacheAccess<K,V>` | `cache`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CacheProxy()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract org.apache.commons.jcs.access.CacheAccess<K,V>` | `createNewCache()`
    `V` | `get(K key)`
    `void` | `put(K key, V value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### cache

          private final org.apache.commons.jcs.access.CacheAccess<K,V extends java.io.Serializable> cache

  - ### Constructor Detail

    - #### CacheProxy

          public CacheProxy()

  - ### Method Detail

    - #### createNewCache

          protected abstract org.apache.commons.jcs.access.CacheAccess<K,V> createNewCache()
                                                                                    throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### get

          public V get(K key)

    - #### put

          public void put(K key,
                          V value)

JOSM Plugins