case "clusterPublicHost": if (member.getValue() instanceof String) { obj.setClusterPublicHost((String)member.getValue());
@Override public void beforeStartingVertx(VertxOptions options) { beforeStartingVertxInvoked = true; this.options = options; if (clusterHost != null) { options.setClusterHost(clusterHost); options.setClusterPort(clusterPort); options.setClusterPublicHost(clusterPublicHost); options.setClusterPublicPort(clusterPublicPort); super.beforeStartingVertx(options); } }
.setClusterPublicHost(clusterPublicHost); if (clusterPublicPort != -1) { options.setClusterPublicPort(clusterPublicPort);
case "clusterPublicHost": if (member.getValue() instanceof String) { obj.setClusterPublicHost((String)member.getValue());
options.setBlockedThreadCheckInterval(blockedThreadCheckInterval); options.setClusterHost(clusterHost); options.setClusterPublicHost(clusterPublicHost); options.setClusterPingInterval(clusterPingInterval); options.setClusterPingReplyInterval(clusterPingReplyInterval);
@Override public void beforeStartingVertx(VertxOptions options) { beforeStartingVertxInvoked = true; this.options = options; if (clusterHost != null) { options.setClusterHost(clusterHost); options.setClusterPort(clusterPort); options.setClusterPublicHost(clusterPublicHost); options.setClusterPublicPort(clusterPublicPort); super.beforeStartingVertx(options); } }
.setClusterPublicHost(clusterPublicHost); if (clusterPublicPort != -1) { options.setClusterPublicPort(clusterPublicPort);
assertEquals(null, options.getClusterPublicHost()); randString = TestUtils.randomUnicodeString(100); assertEquals(options, options.setClusterPublicHost(randString)); assertEquals(randString, options.getClusterPublicHost()); assertEquals(20000, options.getClusterPingInterval());
options.setBlockedThreadCheckInterval(blockedThreadCheckInterval); options.setClusterHost(clusterHost); options.setClusterPublicHost(clusterPublicHost); options.setClusterPingInterval(clusterPingInterval); options.setClusterPingReplyInterval(clusterPingReplyInterval);
assertEquals(null, options.getClusterPublicHost()); randString = TestUtils.randomUnicodeString(100); assertEquals(options, options.setClusterPublicHost(randString)); assertEquals(randString, options.getClusterPublicHost()); assertEquals(20000, options.getClusterPingInterval());