Interface MongoDbConnection.ChangeEventSourceConnectionFactory

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.

@FunctionalInterface public static interface MongoDbConnection.ChangeEventSourceConnectionFactory
  • Method Details

    • get

      MongoDbConnection get(ReplicaSet replicaSet, MongoDbPartition partition)
      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