VertxOptionsImpl(JsonObject json) { this.proxyOperationTimeout = json.getInteger("proxyOperationTimeout", DEFAULT_PROXYOPERATIONTIMEOUT); this.eventLoopPoolSize = json.getInteger("eventLoopPoolSize", DEFAULT_EVENTLOOPPOOLSIZE); this.workerPoolSize = json.getInteger("workerPoolSize", DEFAULT_WORKERPOOLSIZE); this.clustered = json.getBoolean("clustered", DEFAULT_CLUSTERED); this.clusterHost = json.getString("clusterHost", DEFAULT_CLUSTERHOST); this.clusterPort = json.getInteger("clusterPort", DEFAULT_CLUSTERPORT); this.internalBlockingPoolSize = json.getInteger("internalBlockingPoolSize", DEFAULT_INTERNALBLOCKINGPOOLSIZE); this.blockedThreadCheckPeriod = json.getLong("blockedThreadCheckPeriod", DEFAULT_BLOCKEDTHREADCHECKPERIOD); this.maxEventLoopExecuteTime = json.getLong("maxEventLoopExecuteTime", DEFAULT_MAXEVENTLOOPEXECUTETIME); this.maxWorkerExecuteTime = json.getLong("maxWorkerExecuteTime", DEFAULT_MAXWORKEREXECUTETIME); this.haEnabled = json.getBoolean("haEnabled", false); this.quorumSize = json.getInteger("quorumSize", DEFAULT_QUORUMSIZE); this.haGroup = json.getString("haGroup", null); }
@CodeTranslate public void getBooleanFromIdentifier() throws Exception { JsonObject obj = new JsonObject().put("_true", true); JsonTest.o = obj.getBoolean("_true"); }