Class ModifySubscriptionTask

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

public class ModifySubscriptionTask extends SubscriptionTask
A cluster task used to modify a pubsub node subscription (a relation between an entity an a pubsub node). 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.
See Also:
  • Constructor Details

    • ModifySubscriptionTask

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

      public ModifySubscriptionTask(@Nonnull NodeSubscription subscription)
      Constructs a new task that modifies a subscription to a pubsub node.
      Parameters:
      subscription - The to-be-modified subscription
  • Method Details

    • run

      public void run()