Examples of reindexNodes()


Examples of org.qzerver.model.domain.entities.cluster.ClusterGroup.reindexNodes()

        clusterNode.setDescription(comment);

        clusterGroup.getNodes().add(clusterNode);
        clusterNode.setGroup(clusterGroup);

        clusterGroup.reindexNodes();

        return clusterNode;
    }

    @Override
View Full Code Here

Examples of org.qzerver.model.domain.entities.cluster.ClusterGroup.reindexNodes()

        businessEntityDao.lock(clusterGroup);

        int index = clusterGroup.getNodes().indexOf(clusterNode);
        clusterGroup.getNodes().remove(index);

        clusterGroup.reindexNodes();

        if (clusterGroup.getRollingIndex() > index) {
            clusterGroup.setRollingIndex(clusterGroup.getRollingIndex() - 1);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.