Package com.mongodb.connection
Class AsynchronousSocketChannelStreamFactoryFactory.Builder
- java.lang.Object
-
- com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory.Builder
-
- Enclosing class:
- AsynchronousSocketChannelStreamFactoryFactory
public static final class AsynchronousSocketChannelStreamFactoryFactory.Builder extends Object
A builder for an instance ofAsynchronousSocketChannelStreamFactoryFactory
.- Since:
- 3.6
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsynchronousSocketChannelStreamFactoryFactory
build()
Build an instance ofAsynchronousSocketChannelStreamFactoryFactory
.AsynchronousSocketChannelStreamFactoryFactory.Builder
group(AsynchronousChannelGroup group)
Sets theAsynchronousChannelGroup
-
-
-
Method Detail
-
group
public AsynchronousSocketChannelStreamFactoryFactory.Builder group(AsynchronousChannelGroup group)
Sets theAsynchronousChannelGroup
- Parameters:
group
- theAsynchronousChannelGroup
- Returns:
- this
-
build
public AsynchronousSocketChannelStreamFactoryFactory build()
Build an instance ofAsynchronousSocketChannelStreamFactoryFactory
.- Returns:
- the AsynchronousSocketChannelStreamFactoryFactory
-
-