Class ProductConfigurationCacheInvalidationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
de.hybris.platform.servicelayer.event.events.AbstractEvent
de.hybris.platform.sap.productconfig.runtime.interf.event.ProductConfigurationCacheInvalidationEvent
- All Implemented Interfaces:
ClusterAwareEvent,Serializable
public class ProductConfigurationCacheInvalidationEvent
extends AbstractEvent
implements ClusterAwareEvent
Event indicates that the cached configuration state shall be discarded cluster wide.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ProductConfigurationCacheInvalidationEvent(String configid, Map<String, String> contextAttributes) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPublish(PublishEventContext publishEventContext) Decide whether this event should be broadcasted/received.Methods inherited from class de.hybris.platform.servicelayer.event.events.AbstractEvent
getScope, getSource, isFromCluster, setFromCluster, setScope, toStringMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.event.ClusterAwareEvent
publish
-
Constructor Details
-
ProductConfigurationCacheInvalidationEvent
public ProductConfigurationCacheInvalidationEvent(String configid, Map<String, String> contextAttributes) Default constructor.- Parameters:
cacheKeyComponents- cache key components require to build a valid cache keyconfigId- to be discarded
-
ProductConfigurationCacheInvalidationEvent
Default constructor.- Parameters:
configId- to be discarded
-
-
Method Details
-
getConfigId
-
canPublish
Description copied from interface:ClusterAwareEventDecide whether this event should be broadcasted/received.- Specified by:
canPublishin interfaceClusterAwareEvent- Parameters:
publishEventContext- context object containing all necessary information about target and source node Id's as well as target node groups.- Returns:
trueif event should be published from source cluster node to target cluster node
-
getContextAttributes
-