public class KMongo
Main object used to create a MongoClient instance.
public static KMongo INSTANCE
Main object used to create a MongoClient instance.
@NotNull public com.mongodb.reactivestreams.client.MongoClient createClient()
Creates a new client with the default connection string "mongodb://localhost".
@NotNull
public com.mongodb.reactivestreams.client.MongoClient createClient(@NotNull
com.mongodb.MongoClientSettings settings)
Create a new client with the given client settings.
settings - the settings@NotNull
public com.mongodb.reactivestreams.client.MongoClient createClient(@NotNull
java.lang.String connectionString)
Create a new client with the given connection string.
connectionString - the connection@NotNull
public com.mongodb.reactivestreams.client.MongoClient createClient(@NotNull
com.mongodb.ConnectionString connectionString)
Create a new client with the given connection string.
connectionString - the settings