C
- Specifies which implementation of NoSqlConnection
this provider provides.public interface NoSqlProvider<C extends NoSqlConnection<?,? extends NoSqlObject<?>>>
NoSqlAppender
with the proper provider
(MongoDB, etc.).Modifier and Type | Method and Description |
---|---|
C |
getConnection()
Obtains a connection from this provider.
|
String |
toString()
All implementations must override
Object.toString() to provide information about the provider
configuration (obscuring passwords with one-way hashes). |
C getConnection()
Where applicable, this method should return a connection from the connection pool as opposed to opening a brand new connection every time.
NoSqlConnection
String toString()
Object.toString()
to provide information about the provider
configuration (obscuring passwords with one-way hashes).Copyright © 1999-2017. 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.