Class RemoveNodeTask

  • All Implemented Interfaces:
    Externalizable, Serializable, Runnable, ClusterTask<Void>

    public class RemoveNodeTask
    extends NodeTask
    Removes a newly deleted node from memory across the cluster. Note that this task aims to update in-memory state only: it will not apply affiliation changes to persistent data storage (it is assumed that the cluster node where the task originated takes responsibility for that). As a result, this task might not apply changes if the node that is the subject of this task is currently not loaded in-memory of the cluster node on which this task operates.
    Author:
    Tom Evans
    See Also:
    Serialized Form
    • Constructor Detail

      • RemoveNodeTask

        public RemoveNodeTask()
        This no-argument constructor is provided for serialization purposes. It should generally not be used otherwise.
      • RemoveNodeTask

        public RemoveNodeTask​(@Nonnull
                              Node node)
        Constructs a new task that removes a specific node from a pubsub node.
        Parameters:
        node - The pubsub node that this task relates to.
    • Method Detail

      • run

        public void run()