Example #1
0
 public _Thread_434(TestNMClientAsync _enclosing, Container container, ContainerLaunchContext
                    clc)
 {
     this._enclosing = _enclosing;
     this.container  = container;
     this.clc        = clc;
 }
Example #2
0
 /// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/>
 /// <exception cref="System.IO.IOException"/>
 protected internal MockNMClientAsync1(TestNMClientAsync _enclosing, int expectedSuccess
                                       , int expectedFailure)
     : base(typeof(TestNMClientAsync.MockNMClientAsync1).FullName, this._enclosing.MockNMClient
                (0), new TestNMClientAsync.TestCallbackHandler1(this, expectedSuccess, expectedFailure
                                                                ))
 {
     this._enclosing = _enclosing;
 }
Example #3
0
 /// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/>
 /// <exception cref="System.IO.IOException"/>
 protected internal MockNMClientAsync2(TestNMClientAsync _enclosing, CyclicBarrier
                                       barrierA, CyclicBarrier barrierB, CyclicBarrier barrierC)
     : base(typeof(TestNMClientAsync.MockNMClientAsync2).FullName, this._enclosing.MockNMClient
                (0), new TestNMClientAsync.TestCallbackHandler2(this, barrierC))
 {
     this._enclosing = _enclosing;
     this.barrierA   = barrierA;
     this.barrierB   = barrierB;
 }
Example #4
0
 public TestCallbackHandler1(TestNMClientAsync _enclosing, int expectedSuccess, int
                             expectedFailure)
 {
     this._enclosing              = _enclosing;
     this.expectedSuccess         = expectedSuccess;
     this.expectedFailure         = expectedFailure;
     this.actualStartSuccessArray = new AtomicIntegerArray(expectedSuccess);
     this.actualStartFailureArray = new AtomicIntegerArray(expectedFailure);
     this.actualQuerySuccessArray = new AtomicIntegerArray(expectedSuccess);
     this.actualQueryFailureArray = new AtomicIntegerArray(expectedFailure);
     this.actualStopSuccessArray  = new AtomicIntegerArray(expectedSuccess);
     this.actualStopFailureArray  = new AtomicIntegerArray(expectedFailure);
 }
Example #5
0
 public TestCallbackHandler2(TestNMClientAsync _enclosing, CyclicBarrier barrierC)
 {
     this._enclosing = _enclosing;
     this.barrierC   = barrierC;
 }