コード例 #1
0
 /* (non-Javadoc)
  * @see com.varone.hadoop.rpc.metrics.MetricsServiceRequest#getMetrics()
  */
 @Override
 public List<MetricsTypeProto> getMetrics() {
   MetricsRequestProtoOrBuilder p = viaProto ? this.proto : this.builder;
   this.metrics = p.getMetricsList();
   return this.metrics;
 }
コード例 #2
0
 /* (non-Javadoc)
  * @see com.varone.hadoop.rpc.metrics.MetricsServiceRequest#getApplicationId()
  */
 @Override
 public String getApplicationId() {
   MetricsRequestProtoOrBuilder p = viaProto ? this.proto : this.builder;
   this.applicationId = p.getApplicationId();
   return this.applicationId;
 }