Class ServerSessionPool


  • @Deprecated(since="2021-05-27")
    public class ServerSessionPool
    extends java.lang.Object
    Deprecated.
    • Constructor Detail

      • ServerSessionPool

        public ServerSessionPool​(Cluster cluster)
        Deprecated.
      • ServerSessionPool

        public ServerSessionPool​(Cluster cluster,
                                 com.mongodb.internal.session.ServerSessionPool.Clock clock)
        Deprecated.
    • Method Detail

      • release

        public void release​(ServerSession serverSession)
        Deprecated.
      • close

        public void close()
        Deprecated.
      • getInUseCount

        public int getInUseCount()
        Deprecated.