Package com.mongodb.connection
Class AsynchronousSocketChannelStreamFactoryFactory
java.lang.Object
com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory
- All Implemented Interfaces:
StreamFactoryFactory
@Deprecated(since="2021-05-27")
public class AsynchronousSocketChannelStreamFactoryFactory
extends Object
implements StreamFactoryFactory
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A
StreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.- Since:
- 3.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Deprecated.Usage of this API is not supported in AEM as a Cloud Service. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Usebuilder()
instead to construct theAsynchronousSocketChannelStreamFactoryFactory
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.Gets a builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
.create
(SocketSettings socketSettings, SslSettings sslSettings) Deprecated.Create aStreamFactory
with the given settings.
-
Constructor Details
-
AsynchronousSocketChannelStreamFactoryFactory
Deprecated.Usebuilder()
instead to construct theAsynchronousSocketChannelStreamFactoryFactory
.Construct an instance with the defaultBufferProvider
andAsynchronousChannelGroup
.
-
-
Method Details
-
builder
Deprecated.Gets a builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
.- Returns:
- the builder
- Since:
- 3.6
-
create
Deprecated.Description copied from interface:StreamFactoryFactory
Create aStreamFactory
with the given settings.- Specified by:
create
in interfaceStreamFactoryFactory
- Parameters:
socketSettings
- the socket settingssslSettings
- the SSL settings- Returns:
- a stream factory that will apply the given settins
-