Interface CacheWriterSupport<K,V>

All Superinterfaces:
org.apache.geode.cache.CacheCallback, org.apache.geode.cache.CacheWriter<K,V>, org.apache.geode.cache.Declarable
All Known Implementing Classes:
RepositoryCacheLoader, RepositoryCacheLoaderWriterSupport, RepositoryCacheWriter

public interface CacheWriterSupport<K,V> extends org.apache.geode.cache.CacheWriter<K,V>
Class supporting the implementation of Apache Geode CacheWriters.
Since:
1.1.0
See Also:
  • CacheWriter
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    beforeCreate(org.apache.geode.cache.EntryEvent<K,V> event)
     
    default void
    beforeDestroy(org.apache.geode.cache.EntryEvent<K,V> event)
     
    default void
    beforeRegionClear(org.apache.geode.cache.RegionEvent<K,V> event)
     
    default void
    beforeRegionDestroy(org.apache.geode.cache.RegionEvent<K,V> event)
     
    default void
    beforeUpdate(org.apache.geode.cache.EntryEvent<K,V> event)
     

    Methods inherited from interface org.apache.geode.cache.CacheCallback

    close

    Methods inherited from interface org.apache.geode.cache.Declarable

    init, initialize
  • Method Details

    • beforeCreate

      default void beforeCreate(org.apache.geode.cache.EntryEvent<K,V> event) throws org.apache.geode.cache.CacheWriterException
      Specified by:
      beforeCreate in interface org.apache.geode.cache.CacheWriter<K,V>
      Throws:
      org.apache.geode.cache.CacheWriterException
    • beforeUpdate

      default void beforeUpdate(org.apache.geode.cache.EntryEvent<K,V> event) throws org.apache.geode.cache.CacheWriterException
      Specified by:
      beforeUpdate in interface org.apache.geode.cache.CacheWriter<K,V>
      Throws:
      org.apache.geode.cache.CacheWriterException
    • beforeDestroy

      default void beforeDestroy(org.apache.geode.cache.EntryEvent<K,V> event) throws org.apache.geode.cache.CacheWriterException
      Specified by:
      beforeDestroy in interface org.apache.geode.cache.CacheWriter<K,V>
      Throws:
      org.apache.geode.cache.CacheWriterException
    • beforeRegionClear

      default void beforeRegionClear(org.apache.geode.cache.RegionEvent<K,V> event) throws org.apache.geode.cache.CacheWriterException
      Specified by:
      beforeRegionClear in interface org.apache.geode.cache.CacheWriter<K,V>
      Throws:
      org.apache.geode.cache.CacheWriterException
    • beforeRegionDestroy

      default void beforeRegionDestroy(org.apache.geode.cache.RegionEvent<K,V> event) throws org.apache.geode.cache.CacheWriterException
      Specified by:
      beforeRegionDestroy in interface org.apache.geode.cache.CacheWriter<K,V>
      Throws:
      org.apache.geode.cache.CacheWriterException