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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
MenuCacheInvalidationEvent
-
-
Method Details
-
getCacheInfo
-
isReset
public boolean isReset() -
getType
-