Commit e008f6da authored by Robin Collier's avatar Robin Collier Committed by rcollier

OF-205 Add node removal cluster task

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches/pubsub_clustering@13256 b35dd754-fafc-0310-a699-88a17e54d16e
parent cb1a6734
package org.jivesoftware.openfire.pubsub.cluster;
import org.jivesoftware.openfire.pubsub.Node;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Removes a newly deleted node from memory across the cluster.
*
* @author Tom Evans
*
*/
public class RemoveNodeTask extends NodeTask
{
private static final Logger log = LoggerFactory.getLogger(RemoveNodeTask.class);
public RemoveNodeTask()
{
}
public RemoveNodeTask(Node node)
{
super(node);
}
@Override
public Object getResult()
{
return null;
}
@Override
public void run()
{
log.debug("[TASK] Removing node - nodeID: {}", getNodeId());
getService().removeNode(getNodeId());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment