Class EventUtils


  • public abstract class EventUtils
    extends java.lang.Object
    Utility class with funtionality for the event service.
    • 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.
        Returns true if event is either not instance of ClusterAwareEvent or the event scope is null or the ClusterAwareEvent.publish(...) method returns true
        Parameters:
        event - the event to test
        currentClusterId - the current ClusterId
      • matchCluster

        public static boolean matchCluster​(AbstractEvent event,
                                           long currentClusterIslandId,
                                           int currentClusterId,
                                           java.util.Collection<java.lang.String> currentNodeGroups)