JavaScript is disabled on your browser.
java.lang.Object
org.apache.logging.log4j.core.appender.nosql.AbstractNoSqlConnection<com.mongodb.BasicDBObject,MongoDbObject >
org.apache.logging.log4j.mongodb2.MongoDbConnection
All Implemented Interfaces:
Closeable , AutoCloseable , org.apache.logging.log4j.core.appender.nosql.NoSqlConnection<com.mongodb.BasicDBObject,MongoDbObject >
public final class MongoDbConnection
extends org.apache.logging.log4j.core.appender.nosql.AbstractNoSqlConnection<com.mongodb.BasicDBObject,MongoDbObject >
The MongoDB implementation of NoSqlConnection
.
Constructor Summary
Constructors
Constructor and Description
MongoDbConnection (com.mongodb.DB database,
com.mongodb.WriteConcern writeConcern,
String collectionName,
Boolean isCapped,
Integer collectionSize)
Method Summary
Methods inherited from class org.apache.logging.log4j.core.appender.nosql.AbstractNoSqlConnection
close, isClosed
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
closeImpl
public void closeImpl ()
Specified by:
closeImpl
in class org.apache.logging.log4j.core.appender.nosql.AbstractNoSqlConnection<com.mongodb.BasicDBObject,MongoDbObject >
Copyright © 1999-2021 The Apache Software Foundation . All Rights Reserved. Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.