@Test public void testGetGlobalExecutionContext() throws InterruptedException { ExecutionContext gec = globalExecutionContext(); CountDownLatch scheduleLatch = new CountDownLatch(2); gec.executor().schedule(scheduleLatch::countDown, 1, SECONDS); toNettyIoExecutor(gec.ioExecutor()).asExecutor().schedule(scheduleLatch::countDown, 1, SECONDS); scheduleLatch.await(); }
private GlobalExecutionContext() { }
GlobalExecutionContext { private GlobalExecutionContext() { } }
GlobalExecutionContext { private GlobalExecutionContext() { } private  GlobalExecutionContext(); }
GlobalExecutionContext { private GlobalExecutionContext() { } private  GlobalExecutionContext(); static ExecutionContext globalExecutionContext(); }
GlobalExecutionContext { private GlobalExecutionContext() { } private  GlobalExecutionContext(); static ExecutionContext globalExecutionContext();  }