java.lang.Object
org.broadleafcommerce.common.extensibility.cache.ehcache.NoOpCache
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable, javax.cache.Cache

public class NoOpCache extends Object implements javax.cache.Cache
  • Constructor Details

    • NoOpCache

      public NoOpCache()
    • NoOpCache

      public NoOpCache(NoOpCacheManager noOpCacheManager)
  • Method Details

    • get

      public Object get(Object o)
      Specified by:
      get in interface javax.cache.Cache
    • getAll

      public Map getAll(Set set)
      Specified by:
      getAll in interface javax.cache.Cache
    • containsKey

      public boolean containsKey(Object o)
      Specified by:
      containsKey in interface javax.cache.Cache
    • loadAll

      public void loadAll(Set set, boolean b, javax.cache.integration.CompletionListener completionListener)
      Specified by:
      loadAll in interface javax.cache.Cache
    • put

      public void put(Object o, Object o2)
      Specified by:
      put in interface javax.cache.Cache
    • getAndPut

      public Object getAndPut(Object o, Object o2)
      Specified by:
      getAndPut in interface javax.cache.Cache
    • putAll

      public void putAll(Map map)
      Specified by:
      putAll in interface javax.cache.Cache
    • putIfAbsent

      public boolean putIfAbsent(Object o, Object o2)
      Specified by:
      putIfAbsent in interface javax.cache.Cache
    • remove

      public boolean remove(Object o)
      Specified by:
      remove in interface javax.cache.Cache
    • remove

      public boolean remove(Object o, Object o2)
      Specified by:
      remove in interface javax.cache.Cache
    • getAndRemove

      public Object getAndRemove(Object o)
      Specified by:
      getAndRemove in interface javax.cache.Cache
    • replace

      public boolean replace(Object o, Object o2, Object v1)
      Specified by:
      replace in interface javax.cache.Cache
    • replace

      public boolean replace(Object o, Object o2)
      Specified by:
      replace in interface javax.cache.Cache
    • getAndReplace

      public Object getAndReplace(Object o, Object o2)
      Specified by:
      getAndReplace in interface javax.cache.Cache
    • removeAll

      public void removeAll(Set set)
      Specified by:
      removeAll in interface javax.cache.Cache
    • removeAll

      public void removeAll()
      Specified by:
      removeAll in interface javax.cache.Cache
    • clear

      public void clear()
      Specified by:
      clear in interface javax.cache.Cache
    • getName

      public String getName()
      Specified by:
      getName in interface javax.cache.Cache
    • getCacheManager

      public javax.cache.CacheManager getCacheManager()
      Specified by:
      getCacheManager in interface javax.cache.Cache
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface javax.cache.Cache
      Specified by:
      close in interface Closeable
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface javax.cache.Cache
    • registerCacheEntryListener

      public void registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration)
      Specified by:
      registerCacheEntryListener in interface javax.cache.Cache
    • deregisterCacheEntryListener

      public void deregisterCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration cacheEntryListenerConfiguration)
      Specified by:
      deregisterCacheEntryListener in interface javax.cache.Cache
    • iterator

      public Iterator<javax.cache.Cache.Entry> iterator()
      Specified by:
      iterator in interface javax.cache.Cache
      Specified by:
      iterator in interface Iterable
    • unwrap

      public Object unwrap(Class aClass)
      Specified by:
      unwrap in interface javax.cache.Cache
    • invokeAll

      public Map invokeAll(Set set, javax.cache.processor.EntryProcessor entryProcessor, Object... objects)
      Specified by:
      invokeAll in interface javax.cache.Cache
    • invoke

      public Object invoke(Object o, javax.cache.processor.EntryProcessor entryProcessor, Object... objects) throws javax.cache.processor.EntryProcessorException
      Specified by:
      invoke in interface javax.cache.Cache
      Throws:
      javax.cache.processor.EntryProcessorException
    • getConfiguration

      public javax.cache.configuration.Configuration getConfiguration(Class aClass)
      Specified by:
      getConfiguration in interface javax.cache.Cache