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 java.lang.Object implements StreamFactoryFactory
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.AStreamFactoryFactory
implementation for AsynchronousSocketChannel-based streams.- Since:
- 3.1
- See Also:
AsynchronousSocketChannel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AsynchronousSocketChannelStreamFactoryFactory.Builder
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.
-
Constructor Summary
Constructors Constructor Description AsynchronousSocketChannelStreamFactoryFactory()
Deprecated.Usebuilder()
instead to construct theAsynchronousSocketChannelStreamFactoryFactory
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AsynchronousSocketChannelStreamFactoryFactory.Builder
builder()
Deprecated.Gets a builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
.StreamFactory
create(SocketSettings socketSettings, SslSettings sslSettings)
Deprecated.Create aStreamFactory
with the given settings.
-
-
-
Constructor Detail
-
AsynchronousSocketChannelStreamFactoryFactory
@Deprecated public AsynchronousSocketChannelStreamFactoryFactory()
Deprecated.Usebuilder()
instead to construct theAsynchronousSocketChannelStreamFactoryFactory
.Construct an instance with the defaultBufferProvider
andAsynchronousChannelGroup
.
-
-
Method Detail
-
builder
public static AsynchronousSocketChannelStreamFactoryFactory.Builder builder()
Deprecated.Gets a builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
.- Returns:
- the builder
- Since:
- 3.6
-
create
public StreamFactory create(SocketSettings socketSettings, SslSettings sslSettings)
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
-
-