Class AbstractCacheManager<V>

java.lang.Object
org.apache.dubbo.metadata.AbstractCacheManager<V>
All Implemented Interfaces:
org.apache.dubbo.common.resource.Disposable
Direct Known Subclasses:
MappingCacheManager

public abstract class AbstractCacheManager<V> extends Object implements org.apache.dubbo.common.resource.Disposable
  • Constructor Details

    • AbstractCacheManager

      public AbstractCacheManager()
  • Method Details

    • get

      public V get(String key)
    • put

      public void put(String key, V apps)
    • remove

      public V remove(String key)
    • getAll

      public Map<String,V> getAll()
    • update

      public void update(Map<String,V> newCache)
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.dubbo.common.resource.Disposable
    • getCacheStore

      public org.apache.dubbo.common.cache.FileCacheStore getCacheStore()
    • getCache

      public org.apache.dubbo.common.utils.LRUCache<String,V> getCache()