@Override public void start(Future<Void> startFuture) { try { if (settings == null) { settings = initSettings(); } init(startFuture); } catch (Exception e) { startFuture.fail(e); } }
private static KeyGeneratorVerticle createKeyGenerator(TestContext context) { KeyGeneratorSettings settings = new KeyGeneratorSettings(); settings.setKeyGeneratorClass(MongoKeyGenerator.class); settings.getGeneratorProperties().put(MongoKeyGenerator.COLLECTTION_PROP, "keyGenSequence"); return new KeyGeneratorVerticle(settings); }
public KeyGeneratorVerticle createKeyGenerator(TestContext context) { KeyGeneratorSettings settings = new KeyGeneratorSettings(); modifyKeyGeneratorVerticleSettings(context, settings); return new KeyGeneratorVerticle(settings); }
public KeyGeneratorVerticle createKeyGenerator(TestContext context) { KeyGeneratorSettings settings = new KeyGeneratorSettings(); modifyKeyGeneratorVerticleSettings(context, settings); return new KeyGeneratorVerticle(settings); }