Package net.bluemind.lib.vertx
Class VertxPlatform
java.lang.Object
net.bluemind.lib.vertx.VertxPlatform
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.vertx.core.eventbus.EventBus
eventBus()
static long
executeBlockingPeriodic
(long delay, io.vertx.core.Handler<Long> handler) static io.vertx.core.Vertx
getVertx()
static io.opentelemetry.api.OpenTelemetry
static void
spawnBlocking
(long t, TimeUnit u) static void
spawnVerticles
(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> complete) void
start
(org.osgi.framework.BundleContext bundleContext) void
stop
(org.osgi.framework.BundleContext bundleContext) static void
undeployVerticles
(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> complete)
-
Constructor Details
-
VertxPlatform
public VertxPlatform()
-
-
Method Details
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-
spawnVerticles
-
spawnBlocking
-
undeployVerticles
public static void undeployVerticles(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> complete) -
getVertx
public static io.vertx.core.Vertx getVertx() -
executeBlockingPeriodic
-
eventBus
public static io.vertx.core.eventbus.EventBus eventBus() -
openTelemetry
public static io.opentelemetry.api.OpenTelemetry openTelemetry() -
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-