Class MenuCacheInvalidationEvent

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

public class MenuCacheInvalidationEvent 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.
Since:
Menu Service 2.0.3, Release Train 2.1.4, Release Train 2.2.0
See Also:
  • Constructor Details

  • Method Details

    • getCacheInfo

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

      public boolean isReset()
    • getType

      public String getType()