Class VertxServer
java.lang.Object
org.hibernate.reactive.it.techempower.VertxServer
Make it easier to run benchmarks with external tools like "wrk"
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionFactory
createHibernateSessionFactory
(boolean enableDocker, io.vertx.core.Vertx vertx) static void
static io.vertx.core.VertxOptions
-
Field Details
-
USE_DOCKER
public static final boolean USE_DOCKER -
IMAGE_NAME
- See Also:
-
USERNAME
- See Also:
-
PASSWORD
- See Also:
-
DB_NAME
- See Also:
-
VERTICLE_INSTANCES
public static final int VERTICLE_INSTANCES- See Also:
-
postgresql
public static final org.testcontainers.containers.PostgreSQLContainer<?> postgresql
-
-
Constructor Details
-
VertxServer
public VertxServer()
-
-
Method Details
-
createHibernateSessionFactory
public static SessionFactory createHibernateSessionFactory(boolean enableDocker, io.vertx.core.Vertx vertx) -
vertxOptions
public static io.vertx.core.VertxOptions vertxOptions() -
main
-