Package com.mongodb.connection.netty
Class NettyStreamFactoryFactory
java.lang.Object
com.mongodb.connection.netty.NettyStreamFactoryFactory
- All Implemented Interfaces:
StreamFactoryFactory
@Deprecated(since="2021-05-27")
public class NettyStreamFactoryFactory
extends Object
implements StreamFactoryFactory
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A
StreamFactoryFactory implementation for Netty-based streams.- Since:
- 3.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.Usage of this API is not supported in AEM as a Cloud Service. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Usebuilder()instead to construct theNettyStreamFactoryFactory.NettyStreamFactoryFactory(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.buffer.ByteBufAllocator allocator) Deprecated.Usebuilder()instead to construct theNettyStreamFactoryFactory. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.Gets a builder for an instance ofNettyStreamFactoryFactory.create(SocketSettings socketSettings, SslSettings sslSettings) Deprecated.Create aStreamFactorywith the given settings.toString()Deprecated.
-
Constructor Details
-
NettyStreamFactoryFactory
Deprecated.Usebuilder()instead to construct theNettyStreamFactoryFactory.Construct an instance with the defaultEventLoopGroupandByteBufAllocator. -
NettyStreamFactoryFactory
@Deprecated public NettyStreamFactoryFactory(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.buffer.ByteBufAllocator allocator) Deprecated.Usebuilder()instead to construct theNettyStreamFactoryFactory.Construct an instance with the givenEventLoopGroupandByteBufAllocator.- Parameters:
eventLoopGroup- the non-null event loop groupallocator- the non-null byte buf allocator
-
-
Method Details
-
builder
Deprecated.Gets a builder for an instance ofNettyStreamFactoryFactory.- Returns:
- the builder
- Since:
- 3.3
-
create
Deprecated.Description copied from interface:StreamFactoryFactoryCreate aStreamFactorywith the given settings.- Specified by:
createin interfaceStreamFactoryFactory- Parameters:
socketSettings- the socket settingssslSettings- the SSL settings- Returns:
- a stream factory that will apply the given settins
-
toString
Deprecated.
-