java.lang.Object
io.vertx.core.AbstractVerticle
vertx.mongodb.effect.Watcher
- All Implemented Interfaces:
io.vertx.core.Verticle
public final class Watcher
extends io.vertx.core.AbstractVerticle
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>>
final Consumer<com.mongodb.client.ChangeStreamIterable<jsonvalues.JsObj>>
Fields inherited from class io.vertx.core.AbstractVerticle
context, vertx
-
Constructor Summary
ConstructorsConstructorDescriptionWatcher
(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Consumer<com.mongodb.client.ChangeStreamIterable<jsonvalues.JsObj>> consumer) Watcher
(Supplier<com.mongodb.client.MongoCollection<jsonvalues.JsObj>> collectionSupplier, Consumer<com.mongodb.client.ChangeStreamIterable<jsonvalues.JsObj>> consumer, com.mongodb.client.ClientSession session) -
Method Summary
Methods inherited from class io.vertx.core.AbstractVerticle
config, deploymentID, getVertx, init, processArgs, start, stop, stop
-
Field Details
-
collectionSupplier
-
consumer
-
-
Constructor Details
-
Watcher
-
Watcher
-
-
Method Details
-
start
- Specified by:
start
in interfaceio.vertx.core.Verticle
- Overrides:
start
in classio.vertx.core.AbstractVerticle
-