All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jivesoftware.openfire.pubsub.cluster.ModifySubscriptionTask Maven / Gradle / Ivy

The newest version!
package org.jivesoftware.openfire.pubsub.cluster;

import org.jivesoftware.openfire.pubsub.NodeSubscription;
import org.jivesoftware.openfire.pubsub.PubSubPersistenceManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

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

    public ModifySubscriptionTask()
    {

    }

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

    @Override
    public void run()
    {
        log.debug("[TASK] Modify subscription : {}", toString());
        PubSubPersistenceManager.loadSubscription(getService(), getNode(), getSubscriptionId());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy