Package org.qzerver.model.service.cluster.exception

Examples of org.qzerver.model.service.cluster.exception.ClusterGroupUsed


    @Override
    public void deleteGroup(long clusterGroupId) throws AbstractServiceException {
        List<ScheduleJob> jobs = scheduleJobDao.findAllByClusterGroup(clusterGroupId);
        if (CollectionUtils.isNotEmpty(jobs)) {
            throw new ClusterGroupUsed();
        }

        businessEntityDao.deleteById(ClusterGroup.class, clusterGroupId);
    }
View Full Code Here

TOP

Related Classes of org.qzerver.model.service.cluster.exception.ClusterGroupUsed

Copyright © 2018 www.massapicom. 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.