public interface MongoConnection
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.Mongo |
connect() |
com.mongodb.DB |
getDatabase()
Deprecated.
Use
getMongoDatabase(). |
com.mongodb.client.MongoDatabase |
getMongoDatabase()
Get instance of the configured MongoDB database.
|
com.mongodb.Mongo connect()
@Deprecated com.mongodb.DB getDatabase()
getMongoDatabase().com.mongodb.client.MongoDatabase getMongoDatabase()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.