ModifySubscriptionTask.java 740 Bytes
Newer Older
1 2 3 4
package org.jivesoftware.openfire.pubsub.cluster;

import org.jivesoftware.openfire.pubsub.NodeSubscription;
import org.jivesoftware.openfire.pubsub.PubSubPersistenceManager;
5 6
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
7 8 9

public class ModifySubscriptionTask extends SubscriptionTask
{
10 11
    private static final Logger log = LoggerFactory.getLogger(ModifySubscriptionTask.class);

12 13 14 15 16 17 18 19 20 21
	public ModifySubscriptionTask()
	{

	}

	public ModifySubscriptionTask(NodeSubscription subscription)
	{
		super(subscription);
	}

22
	@Override
23 24
	public void run()
	{
25
		log.debug("[TASK] Modify subscription : {}", toString());
26 27 28
		PubSubPersistenceManager.loadSubscription(getService(), getNode(), getSubscriptionId());
	}
}