Package com.mongodb.connection
Class AsynchronousSocketChannelStreamFactoryFactory.Builder
java.lang.Object
com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory.Builder
- Enclosing class:
- AsynchronousSocketChannelStreamFactoryFactory
A builder for an instance of
AsynchronousSocketChannelStreamFactoryFactory
.- Since:
- 3.6
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build an instance ofAsynchronousSocketChannelStreamFactoryFactory
.group
(AsynchronousChannelGroup group) Sets theAsynchronousChannelGroup
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
group
Sets theAsynchronousChannelGroup
- Parameters:
group
- theAsynchronousChannelGroup
- Returns:
- this
-
build
Build an instance ofAsynchronousSocketChannelStreamFactoryFactory
.- Returns:
- the AsynchronousSocketChannelStreamFactoryFactory
-