Examples of TaskError


Examples of com.alibaba.jstorm.task.error.TaskError

                taskId);
          List<ErrorInfo> newErrors = new ArrayList<ErrorInfo>();
          if (errors != null) {
            int size = errors.size();
            for (int i = 0; i < size; i++) {
              TaskError e = (TaskError) errors.get(i);
              newErrors.add(new ErrorInfo(e.getError(), e
                  .getTimSecs()));
            }
          }
          taskSummary.set_errors(newErrors);
       
View Full Code Here

Examples of com.alibaba.jstorm.task.error.TaskError

    List<TaskError> errors = new ArrayList<TaskError>();

    for (String str : children) {
      byte[] v = cluster_state.get_data(path + "/" + str, false);
      if (v != null) {
        TaskError error = new TaskError(new String(v),
            Integer.parseInt(str));
        errors.add(error);
      }
    }
View Full Code Here

Examples of com.alipay.bluewhale.core.task.error.TaskError

        List<ErrorInfo> newErrors = new ArrayList<ErrorInfo>();

        if (errors != null) {
          int size = errors.size();
          for (int i = 0; i < size; i++) {
            TaskError e = (TaskError) errors.get(i);
            newErrors.add(new ErrorInfo(e.getError(), e.getTimSecs()));
          }
        }
        BaseStatsData status = (BaseStatsData) heartbeat.getStats();
        TaskStats tkStatus = status.getTaskStats();
        int uptimeSecs = heartbeat.getUptimeSecs();
View Full Code Here

Examples of com.alipay.bluewhale.core.task.error.TaskError

    List<TaskError> errors = new ArrayList<TaskError>();

    for (String str : children) {
      byte[] v = cluster_state.get_data(path + "/" + str, false);
      if (v != null) {
        TaskError error = new TaskError(new String(v),
            Integer.parseInt(str));
        errors.add(error);
      }
    }
View Full Code Here

Examples of com.droidkit.actors.tasks.messages.TaskError

        } else if (message instanceof Error) {
            if (!isCompleted) {
                isCompleted = true;
                Error error = (Error) message;
                for (TaskListener request : requests) {
                    request.getSender().send(new TaskError(request.getRequestId(), error.getError()));
                }
                context().stopSelf();
            }
        }
    }
View Full Code Here

Examples of org.jclouds.savvis.vpdc.domain.TaskError

      } else if (equalsOrSuffix(qName, "Owner")) {
         builder.owner(Utils.newResource(attributes));
      } else if (equalsOrSuffix(qName, "Result")) {
         builder.result(Utils.newResource(attributes));
      } else if (equalsOrSuffix(qName, "Error")) {
         builder.error(new TaskError(attributes.get("message"), Integer.parseInt(attributes.get("majorErrorCode")),
               Integer.parseInt(attributes.get("minorErrorCode")), attributes.get("vendorSpecificErrorCode")));
      }

   }
View Full Code Here

Examples of org.jclouds.savvis.vpdc.domain.TaskError

      } else if (equalsOrSuffix(qName, "Owner")) {
         builder.owner(Utils.newResource(attributes));
      } else if (equalsOrSuffix(qName, "Result")) {
         builder.result(Utils.newResource(attributes));
      } else if (equalsOrSuffix(qName, "Error")) {
         builder.error(new TaskError(attributes.get("message"), Integer.parseInt(attributes.get("majorErrorCode")),
               Integer.parseInt(attributes.get("minorErrorCode")), attributes.get("vendorSpecificErrorCode")));
      }

   }
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.