Uses of Class
io.vertx.core.DeploymentOptions
Packages that use DeploymentOptions
-
Uses of DeploymentOptions in io.vertx.core
Methods in io.vertx.core that return DeploymentOptionsModifier and TypeMethodDescriptionDeploymentOptions.setClassLoader(ClassLoader classLoader) Set the classloader to use for deploying the Verticle.DeploymentOptions.setConfig(JsonObject config) Set the JSON configuration that will be passed to the verticle(s) when it's deployedDeploymentOptions.setHa(boolean ha) Set whether the verticle(s) will be deployed as HA.DeploymentOptions.setInstances(int instances) Set the number of instances that should be deployed.DeploymentOptions.setMaxWorkerExecuteTime(long maxWorkerExecuteTime) Sets the value of max worker execute time, inmaxWorkerExecuteTimeUnit.DeploymentOptions.setMaxWorkerExecuteTimeUnit(TimeUnit maxWorkerExecuteTimeUnit) Set the time unit ofmaxWorkerExecuteTimeDeploymentOptions.setThreadingModel(ThreadingModel threadingModel) Set the verticle(s) verticle(s) threading model, e.g. a worker or a virtual thread verticleDeploymentOptions.setWorkerPoolName(String workerPoolName) Set the worker pool name to use for this verticle.DeploymentOptions.setWorkerPoolSize(int workerPoolSize) Set the maximum number of worker threads to be used by the Vert.x instance.Methods in io.vertx.core with parameters of type DeploymentOptionsModifier and TypeMethodDescriptionVertx.deployVerticle(Deployable verticle, DeploymentOptions options) LikeVertx.deployVerticle(Deployable)butDeploymentOptionsare provided to configure the deployment.Vertx.deployVerticle(Class<? extends Deployable> verticleClass, DeploymentOptions options) LikeVertx.deployVerticle(Deployable, DeploymentOptions)butDeployableinstance is created by invoking the default constructor ofverticleClass.Vertx.deployVerticle(String name, DeploymentOptions options) LikeVertx.deployVerticle(Deployable)butDeploymentOptionsare provided to configure the deployment.Vertx.deployVerticle(Supplier<? extends Deployable> supplier, DeploymentOptions options) LikeVertx.deployVerticle(Deployable, DeploymentOptions)butDeployableinstance is created by invoking theverticleSupplier.Constructors in io.vertx.core with parameters of type DeploymentOptions