Java Code Examples for org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationFinishDataProto

The following examples show how to use org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationFinishDataProto. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
public ApplicationFinishDataPBImpl() {
  builder = ApplicationFinishDataProto.newBuilder();
}
 
Example 2
public ApplicationFinishDataPBImpl(ApplicationFinishDataProto proto) {
  this.proto = proto;
  viaProto = true;
}
 
Example 3
public ApplicationFinishDataProto getProto() {
  mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
 
Example 4
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationFinishDataProto.newBuilder(proto);
  }
  viaProto = false;
}
 
Example 5
Source Project: hadoop   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
public ApplicationFinishDataPBImpl() {
  builder = ApplicationFinishDataProto.newBuilder();
}
 
Example 6
Source Project: hadoop   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
public ApplicationFinishDataPBImpl(ApplicationFinishDataProto proto) {
  this.proto = proto;
  viaProto = true;
}
 
Example 7
Source Project: hadoop   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
public ApplicationFinishDataProto getProto() {
  mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
 
Example 8
Source Project: hadoop   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationFinishDataProto.newBuilder(proto);
  }
  viaProto = false;
}
 
Example 9
Source Project: hadoop   Source File: FileSystemApplicationHistoryStore.java    License: Apache License 2.0 4 votes vote down vote up
private static ApplicationFinishData parseApplicationFinishData(byte[] value)
    throws InvalidProtocolBufferException {
  return new ApplicationFinishDataPBImpl(
    ApplicationFinishDataProto.parseFrom(value));
}
 
Example 10
Source Project: big-c   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
public ApplicationFinishDataPBImpl() {
  builder = ApplicationFinishDataProto.newBuilder();
}
 
Example 11
Source Project: big-c   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
public ApplicationFinishDataPBImpl(ApplicationFinishDataProto proto) {
  this.proto = proto;
  viaProto = true;
}
 
Example 12
Source Project: big-c   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
public ApplicationFinishDataProto getProto() {
  mergeLocalToProto();
  proto = viaProto ? proto : builder.build();
  viaProto = true;
  return proto;
}
 
Example 13
Source Project: big-c   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private void maybeInitBuilder() {
  if (viaProto || builder == null) {
    builder = ApplicationFinishDataProto.newBuilder(proto);
  }
  viaProto = false;
}
 
Example 14
Source Project: big-c   Source File: FileSystemApplicationHistoryStore.java    License: Apache License 2.0 4 votes vote down vote up
private static ApplicationFinishData parseApplicationFinishData(byte[] value)
    throws InvalidProtocolBufferException {
  return new ApplicationFinishDataPBImpl(
    ApplicationFinishDataProto.parseFrom(value));
}