Class AsyncSingleConnectionReadBinding

  • All Implemented Interfaces:
    AsyncReadBinding, ReferenceCounted

    @Deprecated
    public class AsyncSingleConnectionReadBinding
    extends com.mongodb.internal.binding.AbstractReferenceCounted
    implements AsyncReadBinding
    Deprecated.
    An asynchronous read binding that is bound to a single connection.
    Since:
    3.2
    • Constructor Detail

      • AsyncSingleConnectionReadBinding

        public AsyncSingleConnectionReadBinding(ReadPreference readPreference,
                                                ServerDescription serverDescription,
                                                AsyncConnection connection)
        Deprecated.
        Construct an instance.
        Parameters:
        readPreference - the read preferenced of this binding
        serverDescription - the description of the server
        connection - the connection to bind to.