Package com.taobao.top.analysis.node.job

Examples of com.taobao.top.analysis.node.job.JobTaskStatus


        Iterator<String> taskIds = statusPool.keySet().iterator();

        while (taskIds.hasNext()) {
            String taskId = taskIds.next();

            JobTaskStatus taskStatus = statusPool.get(taskId);
            JobTask jobTask = jobTaskPool.get(taskId);

            if (taskStatus == JobTaskStatus.DOING && jobTask.getStartTime() != 0
                    && System.currentTimeMillis() - jobTask.getStartTime() >= jobTask.getTaskRecycleTime() * 1000) {
                if (statusPool.replace(taskId, JobTaskStatus.DOING, JobTaskStatus.UNDO)) {
View Full Code Here

TOP

Related Classes of com.taobao.top.analysis.node.job.JobTaskStatus

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.