private void AddLocalNodeManagerInfosToProto()
        {
            MaybeInitBuilder();
            builder.ClearNodeReports();
            if (nodeManagerInfoList == null)
            {
                return;
            }
            IEnumerable <YarnProtos.NodeReportProto> iterable = new _IEnumerable_138(this);

            builder.AddAllNodeReports(iterable);
        }
Пример #2
0
 private void AddKeepAliveApplicationsToProto()
 {
     lock (this)
     {
         MaybeInitBuilder();
         builder.ClearKeepAliveApplications();
         if (keepAliveApplications == null)
         {
             return;
         }
         IEnumerable <YarnProtos.ApplicationIdProto> iterable = new _IEnumerable_138(this);
         builder.AddAllKeepAliveApplications(iterable);
     }
 }
 public _IEnumerator_141(_IEnumerable_138 _enclosing)
 {
     this._enclosing = _enclosing;
     this.iter       = this._enclosing._enclosing.nodeManagerInfoList.GetEnumerator();
 }
Пример #4
0
 public _IEnumerator_141(_IEnumerable_138 _enclosing)
 {
     this._enclosing = _enclosing;
     this.iter       = this._enclosing._enclosing.keepAliveApplications.GetEnumerator();
 }