Class TlsChannelStreamFactoryFactory

  • All Implemented Interfaces:
    ,

    public class TlsChannelStreamFactoryFactory
    extends 
    implements 
    A StreamFactoryFactory that supports TLS/SSL. The implementation supports asynchronous usage.

    Requires Java 8

    Since:
    3.10
    • Constructor Detail

      • TlsChannelStreamFactoryFactory

        public TlsChannelStreamFactoryFactory()
        Construct a new instance
      • TlsChannelStreamFactoryFactory

        public TlsChannelStreamFactoryFactory​(com.mongodb.internal.connection.tlschannel.async.AsynchronousTlsChannelGroup group)
        Construct a new instance with the given AsynchronousTlsChannelGroup. Callers are required to close the provided group in order to free up resources.
        Parameters:
        group - the group
    • Method Detail

      • close

        public void close()
        Specified by:
         in interface 
        Specified by:
         in interface