Class DoNothingCacheManager.DoNothingCache<K,​V>

  • All Implemented Interfaces:
    Iterable<org.ehcache.Cache.Entry<K,​V>>, org.ehcache.Cache<K,​V>
    Enclosing class:
    DoNothingCacheManager

    public static class DoNothingCacheManager.DoNothingCache<K,​V>
    extends Object
    implements org.ehcache.Cache<K,​V>
    • Constructor Detail

      • DoNothingCache

        public DoNothingCache()
    • Method Detail

      • clear

        public void clear()
        Specified by:
        clear in interface org.ehcache.Cache<K,​V>
      • containsKey

        public boolean containsKey​(Object arg0)
        Specified by:
        containsKey in interface org.ehcache.Cache<K,​V>
      • get

        public Object get​(Object arg0)
                   throws org.ehcache.spi.loaderwriter.CacheLoadingException
        Specified by:
        get in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.CacheLoadingException
      • getAll

        public Map getAll​(Set arg0)
                   throws org.ehcache.spi.loaderwriter.BulkCacheLoadingException
        Specified by:
        getAll in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.BulkCacheLoadingException
      • getRuntimeConfiguration

        public org.ehcache.config.CacheRuntimeConfiguration getRuntimeConfiguration()
        Specified by:
        getRuntimeConfiguration in interface org.ehcache.Cache<K,​V>
      • iterator

        public Iterator iterator()
        Specified by:
        iterator in interface org.ehcache.Cache<K,​V>
        Specified by:
        iterator in interface Iterable<K>
      • put

        public void put​(Object arg0,
                        Object arg1)
                 throws org.ehcache.spi.loaderwriter.CacheWritingException
        Specified by:
        put in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.CacheWritingException
      • putAll

        public void putAll​(Map arg0)
                    throws org.ehcache.spi.loaderwriter.BulkCacheWritingException
        Specified by:
        putAll in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.BulkCacheWritingException
      • putIfAbsent

        public Object putIfAbsent​(Object arg0,
                                  Object arg1)
                           throws org.ehcache.spi.loaderwriter.CacheLoadingException,
                                  org.ehcache.spi.loaderwriter.CacheWritingException
        Specified by:
        putIfAbsent in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.CacheLoadingException
        org.ehcache.spi.loaderwriter.CacheWritingException
      • remove

        public void remove​(Object arg0)
                    throws org.ehcache.spi.loaderwriter.CacheWritingException
        Specified by:
        remove in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.CacheWritingException
      • remove

        public boolean remove​(Object arg0,
                              Object arg1)
                       throws org.ehcache.spi.loaderwriter.CacheWritingException
        Specified by:
        remove in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.CacheWritingException
      • removeAll

        public void removeAll​(Set arg0)
                       throws org.ehcache.spi.loaderwriter.BulkCacheWritingException
        Specified by:
        removeAll in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.BulkCacheWritingException
      • replace

        public Object replace​(Object arg0,
                              Object arg1)
                       throws org.ehcache.spi.loaderwriter.CacheLoadingException,
                              org.ehcache.spi.loaderwriter.CacheWritingException
        Specified by:
        replace in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.CacheLoadingException
        org.ehcache.spi.loaderwriter.CacheWritingException
      • replace

        public boolean replace​(Object arg0,
                               Object arg1,
                               Object arg2)
                        throws org.ehcache.spi.loaderwriter.CacheLoadingException,
                               org.ehcache.spi.loaderwriter.CacheWritingException
        Specified by:
        replace in interface org.ehcache.Cache<K,​V>
        Throws:
        org.ehcache.spi.loaderwriter.CacheLoadingException
        org.ehcache.spi.loaderwriter.CacheWritingException