示例#1
0
 @Override
 public void toSummaryProtoStream(OutputStream outputStream) throws IOException {
   ProtoUtils.toSummaryEventProto(
           dagID, submitTime, HistoryEventType.DAG_SUBMITTED, dagName.getBytes(CHARSET_NAME))
       .writeDelimitedTo(outputStream);
 }
示例#2
0
 @Override
 public void toSummaryProtoStream(OutputStream outputStream) throws IOException {
   ProtoUtils.toSummaryEventProto(dagID, commitStartTime, getEventType(), null)
       .writeDelimitedTo(outputStream);
 }