Class ClusterBinding

    • Constructor Detail

      • ClusterBinding

        public ClusterBinding​(Cluster cluster,
                              ReadPreference readPreference,
                              ReadConcern readConcern)
        Deprecated. 
        Creates an instance.
        Parameters:
        cluster - a non-null Cluster which will be used to select a server to bind to
        readPreference - a non-null ReadPreference for read operations
        readConcern - a non-null read concern
        Since:
        3.8