Class DelegatingCacheWriter<K,​V>

  • All Implemented Interfaces:
    org.infinispan.commons.api.Lifecycle, CacheWriter<K,​V>

    public abstract class DelegatingCacheWriter<K,​V>
    extends Object
    implements CacheWriter<K,​V>
    Since:
    6.0
    Author:
    Mircea Markus
    • Constructor Detail

      • DelegatingCacheWriter

        public DelegatingCacheWriter​(CacheWriter<K,​V> actual)
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface org.infinispan.commons.api.Lifecycle
      • stop

        public void stop()
        Specified by:
        stop in interface org.infinispan.commons.api.Lifecycle
      • delete

        public boolean delete​(Object key)
        Specified by:
        delete in interface CacheWriter<K,​V>
        Returns:
        true if the entry existed in the persistent store and it was deleted.