Class ContentCacheInvalidationEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.broadleafcommerce.content.service.messaging.cache.ContentCacheInvalidationEvent
All Implemented Interfaces:
Serializable

public class ContentCacheInvalidationEvent extends org.springframework.context.ApplicationEvent
Internal Spring event to notify listeners of a state change on an entity in order to influence cache invalidation activities. If reset is true, the event is interpreted as a request to completely reset all concerned caches. Otherwise, the listener should attempt to look at information about individual cache members in cacheInfo for discrete cache invalidation.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • ContentCacheInvalidationEvent

      public ContentCacheInvalidationEvent(Object source, String type, @Nullable Map<String,String> cacheInfo)
  • Method Details

    • getCacheInfo

      public Map<String,String> getCacheInfo()
    • isReset

      public boolean isReset()
    • getType

      public String getType()