Package 

Class NoOpCacheEventListener

    • Method Summary

      Modifier and Type Method Description
      static synchronized NoOpCacheEventListener getInstance()
      void onHit(CacheEvent cacheEvent) Triggered by a cache hit.
      void onMiss(CacheEvent cacheEvent) Triggered by a cache miss for the given key.
      void onWriteAttempt(CacheEvent cacheEvent) Triggered at the start of the process to save a resource in cache.
      void onWriteSuccess(CacheEvent cacheEvent) Triggered after a resource has been successfully written to cache.
      void onReadException(CacheEvent cacheEvent) Triggered if a cache hit was attempted but an exception was thrown trying to read the resourcefrom storage.
      void onWriteException(CacheEvent cacheEvent) Triggered if a cache write was attempted but an exception was thrown trying to write theexception to storage.
      void onEviction(CacheEvent cacheEvent) Triggered by an eviction from cache.
      void onCleared() Triggered by a full cache clearance.
      • Methods inherited from class java.lang.Object

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