- Enclosing class:
- MongoDbConnection
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Create connection for given replica set and partition
-
Method Details
-
get
Create connection for given replica set and partition
- Parameters:
replicaSet - the replica set information; may not be null
partition - database partition
- Returns:
- connection based on given parameters