Class AbstractPluginEvent<R>

    • Constructor Detail

    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Description copied from interface: CrossNodesEvent
        Returns whether the event is empty. May be needed to avoid sending empty events.
        Specified by:
        isEmpty in interface CrossNodesEvent
        Returns:
        true if the event is empty, false otherwise.
      • toString

        @NotNull
        public @NotNull String toString()
        Description copied from interface: CrossNodesEvent
        Returns a string representation of the object.
        Specified by:
        toString in interface CrossNodesEvent
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object
      • equals

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

        public int hashCode()
        Description copied from interface: CrossNodesEvent
        Returns a hash code value for the object.
        Specified by:
        hashCode in interface CrossNodesEvent
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for this object
      • toGrpcRequestMessage

        @NotNull
        protected abstract R toGrpcRequestMessage​(@NotNull
                                                  @NotNull MetadataInfo metadataInfo,
                                                  String pluginKey,
                                                  int pluginsVersion,
                                                  String pluginName)