Class EventUtils
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.EventUtils
-
public abstract class EventUtils extends java.lang.ObjectUtility class with funtionality for the event service.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static 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, java.util.Collection<java.lang.String> currentNodeGroups)
-
-
-
Method Detail
-
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, java.util.Collection<java.lang.String> currentNodeGroups)
-
-