List of usage examples for io.vertx.core VertxOptions getPreferNativeTransport
public boolean getPreferNativeTransport()
From source file:io.gravitee.am.gateway.handler.vertx.RxVertxTestBase.java
License:Apache License
public void setUp() throws Exception { super.setUp(); vinit();/*from ww w .j a v a 2 s. com*/ VertxOptions options = getOptions(); boolean nativeTransport = options.getPreferNativeTransport(); vertx = Vertx.vertx(options); if (nativeTransport) { assertTrue(vertx.isNativeTransportEnabled()); } }