Class EventUtils
java.lang.Object
de.hybris.platform.servicelayer.event.impl.EventUtils
Utility class with funtionality for the event service.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanmatchCluster(AbstractEvent event, long currentClusterIslandId, int currentClusterId) Deprecated, for removal: This API element is subject to removal in a future version.static booleanmatchCluster(AbstractEvent event, long currentClusterIslandId, int currentClusterId, Collection<String> currentNodeGroups)
-
Method Details
-
matchCluster
@Deprecated(since="ages", forRemoval=true) public static boolean matchCluster(AbstractEvent event, long currentClusterIslandId, int currentClusterId) Deprecated, for removal: This API element is subject to removal in a future version.Returnstrueif event is either not instance of ClusterAwareEvent or the event scope isnullor the ClusterAwareEvent.publish(...) method returnstrue- Parameters:
event- the event to testcurrentClusterId- the current ClusterId
-
matchCluster
public static boolean matchCluster(AbstractEvent event, long currentClusterIslandId, int currentClusterId, Collection<String> currentNodeGroups)
-
matchCluster(AbstractEvent, long, int, Collection)instead