Interface CrossNodesEvent

    • Method Detail

      • getType

        @NotNull
        @NotNull CrossNodesEvent.Type getType()
        Returns the type of the event.
        Returns:
        the type of the event
      • toString

        @NotNull
        @NotNull String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object
      • equals

        boolean equals​(Object obj)
        Indicates whether some other object is "equal to" this one.
        Overrides:
        equals in class Object
        Parameters:
        obj - the reference object with which to compare
        Returns:
        true if this object is the same as the obj argument; false otherwise
      • hashCode

        int hashCode()
        Returns a hash code value for the object.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for this object
      • isEmpty

        boolean isEmpty()
        Returns whether the event is empty. May be needed to avoid sending empty events.
        Returns:
        true if the event is empty, false otherwise.
        Since:
        9.5
      • isNotEmpty

        default boolean isNotEmpty()
        Returns whether the event is NOT empty.
        Returns:
        true if the event is NOT empty, false otherwise.