Package com.mongodb.binding
Interface AsyncReadWriteBinding
-
- All Superinterfaces:
AsyncReadBinding,AsyncWriteBinding,ReferenceCounted
- All Known Implementing Classes:
AsyncClusterBinding
Deprecated.
@Deprecated public interface AsyncReadWriteBinding extends AsyncReadBinding, AsyncWriteBinding, ReferenceCounted
An asynchronous factory of connection sources to servers that can be read from or written to.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AsyncReadWriteBindingretain()Deprecated.Retain an additional reference to this object.-
Methods inherited from interface com.mongodb.binding.AsyncReadBinding
getReadConnectionSource, getReadPreference, getSessionContext
-
Methods inherited from interface com.mongodb.binding.AsyncWriteBinding
getSessionContext, getWriteConnectionSource
-
Methods inherited from interface com.mongodb.binding.ReferenceCounted
getCount, release
-
-
-
-
Method Detail
-
retain
AsyncReadWriteBinding retain()
Deprecated.Description copied from interface:ReferenceCountedRetain an additional reference to this object. All retained references must be released, or there will be a leak.- Specified by:
retainin interfaceAsyncReadBinding- Specified by:
retainin interfaceAsyncWriteBinding- Specified by:
retainin interfaceReferenceCounted- Returns:
- this
-
-