Exemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected synchronized void doStop() throws java.io.IOException
        protected internal override void DoStop()
        {
            lock (this)
            {
                _asyncEventProcessor.shutdown();
                _asyncEventProcessor.awaitTermination();
                _outputSupplier.Dispose();
            }
        }
Exemplo n.º 2
0
 public override void Stop()
 {
     _events.shutdown();
     _executor.shutdown();
     _events.awaitTermination();
 }