Class PromotionCacheInvalidationEvent

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

public class PromotionCacheInvalidationEvent 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.
See Also:
  • Constructor Details

    • PromotionCacheInvalidationEvent

      public PromotionCacheInvalidationEvent(Object source, Map<String,String> cacheInfo, String type)
    • PromotionCacheInvalidationEvent

      public PromotionCacheInvalidationEvent(Object source, String type)
  • Method Details