Package com.taobao.zeus.jobs.sub.tool

Examples of com.taobao.zeus.jobs.sub.tool.MemUseRateJob.run()


    try {
      int exitCode = -1;
      int count = 0;
      while(count<3 && exitCode!=0){
        count++;
        exitCode=job.run();
      }
      if(exitCode!=0) {
        ScheduleInfoLog.error("HeartBeat Shell Error",new Exception(jobContext.getJobHistory().getLog().getContent()));
        // 防止后面NPE
        jobContext.putData("mem", 1.0);
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.