Class InvalidateCharonCacheEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
de.hybris.platform.servicelayer.event.events.AbstractEvent
de.hybris.platform.apiregistryservices.event.InvalidateCharonCacheEvent
All Implemented Interfaces:
ClusterAwareEvent, Serializable

public class InvalidateCharonCacheEvent extends AbstractEvent implements ClusterAwareEvent
See Also:
  • Constructor Details

    • InvalidateCharonCacheEvent

      public InvalidateCharonCacheEvent(String cacheKey)
  • Method Details

    • canPublish

      public boolean canPublish(PublishEventContext publishEventContext)
      Description copied from interface: ClusterAwareEvent
      Decide whether this event should be broadcasted/received.
      Specified by:
      canPublish in interface ClusterAwareEvent
      Parameters:
      publishEventContext - context object containing all necessary information about target and source node Id's as well as target node groups.
      Returns:
      true if event should be published from source cluster node to target cluster node
    • getCacheKey

      public String getCacheKey()
    • setCacheKey

      protected void setCacheKey(String cacheKey)