Esempio n. 1
0
 public _Thread_434(TestNMClientAsync _enclosing, Container container, ContainerLaunchContext
                    clc)
 {
     this._enclosing = _enclosing;
     this.container  = container;
     this.clc        = clc;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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);
 }
Esempio n. 5
0
 public TestCallbackHandler2(TestNMClientAsync _enclosing, CyclicBarrier barrierC)
 {
     this._enclosing = _enclosing;
     this.barrierC   = barrierC;
 }