congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MongoService.createEventBusProxy
Code IndexAdd Tabnine to your IDE (free)

How to use
createEventBusProxy
method
in
io.vertx.ext.mongo.MongoService

Best Java code snippets using io.vertx.ext.mongo.MongoService.createEventBusProxy (Showing top 2 results out of 315)

origin: io.vertx/vertx-rx-java

/**
 * Create a proxy to a service that is deployed somewhere on the event bus
 * @param vertx the Vert.x instance
 * @param address the address the service is listening on on the event bus
 * @return the service
 */
public static io.vertx.rxjava.ext.mongo.MongoService createEventBusProxy(io.vertx.rxjava.core.Vertx vertx, String address) { 
 io.vertx.rxjava.ext.mongo.MongoService ret = io.vertx.rxjava.ext.mongo.MongoService.newInstance(io.vertx.ext.mongo.MongoService.createEventBusProxy(vertx.getDelegate(), address));
 return ret;
}
origin: io.vertx/vertx-mongo-service

@Override
public void setUp() throws Exception {
 super.setUp();
 JsonObject config = getConfig();
 DeploymentOptions options = new DeploymentOptions().setConfig(config);
 CountDownLatch latch = new CountDownLatch(1);
 vertx.deployVerticle("service:io.vertx.mongo-service", options, onSuccess(id -> {
  mongoClient = MongoService.createEventBusProxy(vertx, "vertx.mongo");
  dropCollections(mongoClient, latch);
 }));
 awaitLatch(latch);
}
io.vertx.ext.mongoMongoServicecreateEventBusProxy

Javadoc

Create a proxy to a service that is deployed somewhere on the event bus

Popular methods of MongoService

  • bulkWrite
  • bulkWriteWithOptions
  • close
  • count
  • createIndex
  • createIndexWithOptions
  • distinct
  • distinctWithQuery
  • find
  • findOne
  • findOneAndDelete
  • findOneAndDeleteWithOptions
  • findOneAndDelete,
  • findOneAndDeleteWithOptions,
  • findOneAndReplace,
  • findOneAndReplaceWithOptions,
  • findOneAndUpdate,
  • findOneAndUpdateWithOptions,
  • findWithOptions,
  • insert,
  • insertWithOptions

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JComboBox (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now